Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107.5 kB / 16.27 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 192.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437.1 MB / 0.7111 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002513, allocations: 69.39 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3194, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007519/0.327, allocations: 4.925 MB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.726/1.053, allocations: 150.6 MB / 1.17 GB, free: 388 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007528/1.054, allocations: 15.78 kB / 1.17 GB, free: 384 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/1.054, allocations: 195 kB / 1.17 GB, free: 256 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/1.056, allocations: 0.5532 MB / 1.171 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/1.058, allocations: 0.8484 MB / 1.171 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001788/1.06, allocations: 1.413 MB / 1.173 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009931/1.061, allocations: 0.5938 MB / 1.173 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008122/1.062, allocations: 0.4894 MB / 1.174 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006501/1.063, allocations: 0.5227 MB / 1.174 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/1.063, allocations: 118.4 kB / 1.175 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009878/1.064, allocations: 461 kB / 1.175 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/1.064, allocations: 311 kB / 1.175 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006346/1.065, allocations: 0.5735 MB / 1.176 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/1.067, allocations: 1.62 MB / 1.177 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.067, allocations: 0 / 1.177 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.252e-06/1.067, allocations: 0 / 1.177 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.971e-05/1.067, allocations: 0 / 1.177 GB, free: 12.21 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002929/1.07, allocations: 1.46 MB / 1.179 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.07, allocations: 13.62 kB / 1.179 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/1.071, allocations: 187.6 kB / 1.179 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.072, allocations: 0.7549 MB / 1.18 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/1.072, allocations: 64.78 kB / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.072, allocations: 86.86 kB / 1.18 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/1.074, allocations: 0.9422 MB / 1.181 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.074, allocations: 0 / 1.181 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/1.074, allocations: 36.25 kB / 1.181 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/1.074, allocations: 25.41 kB / 1.181 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/1.076, allocations: 1.124 MB / 1.182 GB, free: 9.109 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00442/1.08, allocations: 2.747 MB / 1.185 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.082, allocations: 0.9036 MB / 1.186 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/1.083, allocations: 312.6 kB / 1.186 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.459e-05/1.083, allocations: 35.69 kB / 1.186 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009267/1.084, allocations: 0.5279 MB / 1.186 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=84): time 2.244e-06/1.084, allocations: 0 / 1.186 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84): time 0.003375/1.087, allocations: 1.247 MB / 1.188 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.087, allocations: 194.2 kB / 1.188 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/1.088, allocations: 0.6349 MB / 1.188 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/1.088, allocations: 47.05 kB / 1.188 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/1.089, allocations: 400.3 kB / 1.189 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/1.089, allocations: 283.1 kB / 1.189 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/1.089, allocations: 164.8 kB / 1.189 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002263/1.089, allocations: 395 kB / 1.19 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/1.09, allocations: 270.9 kB / 1.19 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/1.091, allocations: 381.6 kB / 1.19 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.092, allocations: 0.6257 MB / 1.191 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.092, allocations: 0 / 1.191 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002047/1.094, allocations: 0.8754 MB / 1.192 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.094, allocations: 5.344 kB / 1.192 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.094, allocations: 2.75 kB / 1.192 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/1.094, allocations: 86.62 kB / 1.192 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/1.095, allocations: 169.5 kB / 1.192 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/1.097, allocations: 1.632 MB / 1.194 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/1.098, allocations: 102.2 kB / 1.194 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/1.098, allocations: 43.41 kB / 1.194 GB, free: 0.5977 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005166/1.099, allocations: 266.5 kB / 1.194 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/1.099, allocations: 84.22 kB / 1.194 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/1.102, allocations: 1.139 MB / 1.195 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/1.102, allocations: 10.09 kB / 1.195 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.102, allocations: 7.938 kB / 1.195 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.102, allocations: 7.984 kB / 1.195 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/1.105, allocations: 2.014 MB / 1.197 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.105, allocations: 0 / 1.197 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/1.106, allocations: 151.6 kB / 1.197 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/1.106, allocations: 78.47 kB / 1.197 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/1.106, allocations: 23.73 kB / 1.197 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/1.108, allocations: 1.667 MB / 1.199 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.108, allocations: 0 / 1.199 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/1.11, allocations: 1.046 MB / 1.2 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/1.111, allocations: 278.4 kB / 1.2 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.111, allocations: 20.88 kB / 1.2 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/1.112, allocations: 68.8 kB / 1.2 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.112, allocations: 75.95 kB / 1.2 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/1.112, allocations: 41.06 kB / 1.201 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006375/1.113, allocations: 459.6 kB / 1.201 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.61e-07/1.113, allocations: 2.094 kB / 1.201 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009443/1.114, allocations: 334.1 kB / 1.201 GB, free: 11.37 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001875/1.116, allocations: 0.6119 MB / 1.202 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002564/1.118, allocations: 1.091 MB / 1.203 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.118, allocations: 0 / 1.203 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009936/1.119, allocations: 0.5338 MB / 1.203 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.121, allocations: 316 kB / 1.204 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/1.124, allocations: 1.752 MB / 1.205 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/1.125, allocations: 1.036 MB / 1.206 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/1.125, allocations: 123.4 kB / 1.207 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/1.125, allocations: 0 / 1.207 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of Templates: time 0.02836/1.153, allocations: 18.91 MB / 1.225 GB, free: 4.691 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches