Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008024/0.008024, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001881/0.001881, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.03 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 140.4 MB / 1.088 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006075/0.295, allocations: 4.312 MB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.4561, allocations: 150.5 MB / 1.239 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.4569, allocations: 15.94 kB / 1.239 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.4575, allocations: 182.4 kB / 1.239 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.4591, allocations: 0.4986 MB / 1.24 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.4609, allocations: 0.8368 MB / 1.241 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.4621, allocations: 1.297 MB / 1.242 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008213/0.4629, allocations: 0.6295 MB / 1.242 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.4634, allocations: 482.3 kB / 1.243 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.4639, allocations: 499.4 kB / 1.243 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.4641, allocations: 116 kB / 1.244 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007396/0.4648, allocations: 487.6 kB / 1.244 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.4651, allocations: 291.1 kB / 1.244 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.4655, allocations: 0.548 MB / 1.245 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.4672, allocations: 1.615 MB / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4672, allocations: 4 kB / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4672, allocations: 0 / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.4672, allocations: 7.938 kB / 1.246 GB, free: 14.6 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002297/0.4695, allocations: 1.44 MB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.4696, allocations: 12.03 kB / 1.248 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/0.4705, allocations: 188 kB / 1.248 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4717, allocations: 0.7701 MB / 1.249 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.4718, allocations: 62 kB / 1.249 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4719, allocations: 80 kB / 1.249 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.4735, allocations: 0.9183 MB / 1.25 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.4735, allocations: 0 / 1.25 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.4736, allocations: 36 kB / 1.25 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.4736, allocations: 24 kB / 1.25 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.4753, allocations: 1.104 MB / 1.251 GB, free: 9.836 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.4791, allocations: 2.508 MB / 1.253 GB, free: 7.262 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.4806, allocations: 0.892 MB / 1.254 GB, free: 6.352 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.4811, allocations: 302.7 kB / 1.255 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.4812, allocations: 32.61 kB / 1.255 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008424/0.4821, allocations: 499.5 kB / 1.255 GB, free: 5.516 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.154e-06/0.4821, allocations: 3.938 kB / 1.255 GB, free: 5.512 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003035/0.4851, allocations: 1.186 MB / 1.256 GB, free: 4.297 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4852, allocations: 188.6 kB / 1.256 GB, free: 4.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007283/0.486, allocations: 0.6253 MB / 1.257 GB, free: 3.438 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.4861, allocations: 41.7 kB / 1.257 GB, free: 3.391 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.4864, allocations: 409 kB / 1.257 GB, free: 2.984 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.4866, allocations: 261.8 kB / 1.258 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.4869, allocations: 166.5 kB / 1.258 GB, free: 2.555 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.487, allocations: 390.7 kB / 1.258 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/0.4876, allocations: 269.8 kB / 1.258 GB, free: 1.902 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.4882, allocations: 363.1 kB / 1.259 GB, free: 1.531 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.4893, allocations: 0.6033 MB / 1.259 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4893, allocations: 8.062 kB / 1.259 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001898/0.4912, allocations: 0.8493 MB / 1.26 GB, free: 52 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4913, allocations: 8 kB / 1.26 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4913, allocations: 0 / 1.26 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6335/1.125, allocations: 85.53 kB / 1.26 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.126, allocations: 155.1 kB / 1.26 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/1.128, allocations: 1.642 MB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/1.129, allocations: 93.8 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.129, allocations: 35.3 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0006848/1.13, allocations: 276.1 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/1.13, allocations: 84.92 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/1.133, allocations: 1.061 MB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.133, allocations: 9.406 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/1.133, allocations: 4.953 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.133, allocations: 7.578 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/1.136, allocations: 1.941 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.136, allocations: 1.375 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/1.137, allocations: 145.1 kB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/1.137, allocations: 71.42 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.233e-05/1.137, allocations: 29.28 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/1.139, allocations: 1.677 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.139, allocations: 4.094 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/1.141, allocations: 0.9989 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/1.142, allocations: 277.1 kB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.142, allocations: 17.72 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/1.142, allocations: 62.81 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.143, allocations: 75.45 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/1.143, allocations: 33 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006494/1.143, allocations: 452.8 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.143, allocations: 0 / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009816/1.144, allocations: 314.6 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001349/1.146, allocations: 0.6131 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.148, allocations: 0.8317 MB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.148, allocations: 0.875 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.149, allocations: 0.5186 MB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.15, allocations: 291.2 kB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/1.154, allocations: 1.762 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/1.155, allocations: 1.019 MB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009076/1.156, allocations: 258.2 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.156, allocations: 103.8 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.252e-06/1.156, allocations: 1.281 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of Templates: time 0.02989/1.186, allocations: 14.89 MB / 1.289 GB, free: 163.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches