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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001905/0.001905, allocations: 118.9 kB / 16.37 MB, free: 6.016 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.002056/0.002056, allocations: 193 kB / 17.31 MB, free: 5.613 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.279/2.279, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 65.48 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.293, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006598/0.2996, allocations: 4.928 MB / 1.024 GB, free: 4.895 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6415/0.9411, allocations: 150.6 MB / 1.171 GB, free: 408 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008254/0.942, allocations: 19.59 kB / 1.171 GB, free: 400 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.9426, allocations: 195.2 kB / 1.171 GB, free: 272 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.9443, allocations: 0.5493 MB / 1.171 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.9463, allocations: 0.8532 MB / 1.172 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.9479, allocations: 1.433 MB / 1.174 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008905/0.9488, allocations: 0.58 MB / 1.174 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/0.9496, allocations: 0.4985 MB / 1.175 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.9502, allocations: 0.5212 MB / 1.175 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.9504, allocations: 118.2 kB / 1.175 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009224/0.9513, allocations: 485.2 kB / 1.176 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.9516, allocations: 307.2 kB / 1.176 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.9521, allocations: 0.5697 MB / 1.177 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.9539, allocations: 1.656 MB / 1.178 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9539, allocations: 5.062 kB / 1.178 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.034e-06/0.954, allocations: 0 / 1.178 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.954, allocations: 0 / 1.178 GB, free: 12.04 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.002669/0.9567, allocations: 1.464 MB / 1.18 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.9567, allocations: 8.25 kB / 1.18 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.9577, allocations: 189 kB / 1.18 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.959, allocations: 0.7766 MB / 1.181 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.9591, allocations: 64.16 kB / 1.181 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.9592, allocations: 79.03 kB / 1.181 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.9608, allocations: 0.9494 MB / 1.182 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.9608, allocations: 1.125 kB / 1.182 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.9609, allocations: 36.91 kB / 1.182 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.961, allocations: 21.5 kB / 1.182 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.9627, allocations: 1.124 MB / 1.183 GB, free: 8.93 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.00405/0.9668, allocations: 2.714 MB / 1.186 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.9683, allocations: 0.9169 MB / 1.186 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.9688, allocations: 316.5 kB / 1.187 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.334e-05/0.9689, allocations: 34.7 kB / 1.187 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008611/0.9698, allocations: 0.5184 MB / 1.187 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=84): time 2.244e-06/0.9698, allocations: 0 / 1.187 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84): time 0.003243/0.973, allocations: 1.252 MB / 1.188 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.9732, allocations: 190.5 kB / 1.189 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.9739, allocations: 0.6371 MB / 1.189 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.974, allocations: 43.39 kB / 1.189 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.9743, allocations: 403.9 kB / 1.19 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.9745, allocations: 271.3 kB / 1.19 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.9748, allocations: 174.6 kB / 1.19 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9749, allocations: 388.8 kB / 1.191 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.9754, allocations: 276.1 kB / 1.191 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.976, allocations: 376.4 kB / 1.191 GB, free: 3 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.9771, allocations: 0.6216 MB / 1.192 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9771, allocations: 2.531 kB / 1.192 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001886/0.979, allocations: 0.8786 MB / 1.193 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.979, allocations: 9.484 kB / 1.193 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9791, allocations: 2.469 kB / 1.193 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.9796, allocations: 83.12 kB / 1.193 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.9803, allocations: 168.9 kB / 1.193 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.9824, allocations: 1.638 MB / 1.194 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.9832, allocations: 97.83 kB / 1.195 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.9833, allocations: 40.25 kB / 1.195 GB, free: 448 kB / 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.0004139/0.9837, allocations: 273.6 kB / 1.195 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.9839, allocations: 86.69 kB / 1.195 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.9863, allocations: 1.132 MB / 1.196 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.9863, allocations: 10.38 kB / 1.196 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.9863, allocations: 3.938 kB / 1.196 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.9863, allocations: 7.969 kB / 1.196 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.9895, allocations: 2.021 MB / 1.198 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.9895, allocations: 4 kB / 1.198 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.9901, allocations: 149.9 kB / 1.198 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.9905, allocations: 78.19 kB / 1.198 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.9906, allocations: 23.73 kB / 1.198 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.9924, allocations: 1.656 MB / 1.2 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9924, allocations: 0 / 1.2 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.9944, allocations: 1.048 MB / 1.201 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.9949, allocations: 278.5 kB / 1.201 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.995, allocations: 20.88 kB / 1.201 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.9957, allocations: 69.92 kB / 1.201 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.9958, allocations: 76.17 kB / 1.201 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.9959, allocations: 40.78 kB / 1.201 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005371/0.9965, allocations: 459.8 kB / 1.202 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9965, allocations: 0 / 1.202 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008701/0.9974, allocations: 329.5 kB / 1.202 GB, free: 11.21 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.001295/0.9987, allocations: 0.6204 MB / 1.203 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001574/1, allocations: 0.867 MB / 1.204 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1, allocations: 4.188 kB / 1.204 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009013/1.001, allocations: 0.5407 MB / 1.204 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.002, allocations: 307.9 kB / 1.204 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/1.005, allocations: 1.69 MB / 1.206 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/1.006, allocations: 1.028 MB / 1.207 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000765/1.007, allocations: 278.8 kB / 1.207 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.007, allocations: 115.4 kB / 1.207 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/1.007, allocations: 0 / 1.207 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of Templates: time 0.0252/1.032, allocations: 15.6 MB / 1.223 GB, free: 7.695 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=480 -s gbode -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