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.007829/0.007829, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.002068/0.002068, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.83 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2816, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005778/0.2874, allocations: 4.312 MB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.4467, allocations: 150.6 MB / 1.239 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.4474, allocations: 11.94 kB / 1.239 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.4481, allocations: 178.3 kB / 1.239 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.4499, allocations: 0.5011 MB / 1.24 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.452, allocations: 0.8276 MB / 1.241 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.4534, allocations: 1.304 MB / 1.242 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009481/0.4544, allocations: 0.6333 MB / 1.243 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006691/0.4551, allocations: 470.4 kB / 1.243 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006472/0.4557, allocations: 497.8 kB / 1.243 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002388/0.456, allocations: 116 kB / 1.244 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000903/0.4569, allocations: 495.5 kB / 1.244 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.4572, allocations: 287.1 kB / 1.244 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.4578, allocations: 0.5441 MB / 1.245 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.4597, allocations: 1.616 MB / 1.246 GB, free: 14.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4597, allocations: 0 / 1.246 GB, free: 14.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4597, allocations: 0 / 1.246 GB, free: 14.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.933e-05/0.4598, allocations: 0 / 1.246 GB, free: 14.59 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.002771/0.4625, allocations: 1.411 MB / 1.248 GB, free: 13.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.4626, allocations: 12.03 kB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009425/0.4635, allocations: 183.4 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.4647, allocations: 0.7617 MB / 1.249 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.4647, allocations: 62 kB / 1.249 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4648, allocations: 80 kB / 1.249 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.4663, allocations: 0.9223 MB / 1.25 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4664, allocations: 0 / 1.25 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.4664, allocations: 36 kB / 1.25 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.4665, allocations: 20 kB / 1.25 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4682, allocations: 1.112 MB / 1.251 GB, free: 9.859 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.4718, allocations: 2.484 MB / 1.253 GB, free: 7.309 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.4734, allocations: 0.8964 MB / 1.254 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.4739, allocations: 310.6 kB / 1.254 GB, free: 6.086 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/0.474, allocations: 32.61 kB / 1.255 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008186/0.4748, allocations: 495.1 kB / 1.255 GB, free: 5.551 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.084e-06/0.4748, allocations: 0 / 1.255 GB, free: 5.551 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003057/0.4779, allocations: 1.19 MB / 1.256 GB, free: 4.332 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.478, allocations: 192.6 kB / 1.256 GB, free: 4.102 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.4788, allocations: 0.6292 MB / 1.257 GB, free: 3.465 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.4789, allocations: 41.7 kB / 1.257 GB, free: 3.418 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.4792, allocations: 392.4 kB / 1.257 GB, free: 3.027 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.4794, allocations: 256.3 kB / 1.258 GB, free: 2.773 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.4797, allocations: 158.5 kB / 1.258 GB, free: 2.609 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4798, allocations: 390.7 kB / 1.258 GB, free: 2.219 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.4804, allocations: 269.8 kB / 1.258 GB, free: 1.957 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.481, allocations: 363.1 kB / 1.259 GB, free: 1.586 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.4821, allocations: 0.6072 MB / 1.259 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4821, allocations: 0 / 1.259 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001906/0.484, allocations: 0.8488 MB / 1.26 GB, free: 112 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.484, allocations: 8 kB / 1.26 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.484, allocations: 0 / 1.26 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.4846, allocations: 84.81 kB / 1.26 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5991/1.084, allocations: 154.1 kB / 1.26 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/1.086, allocations: 1.635 MB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/1.086, allocations: 90.52 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/1.086, allocations: 43.48 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.0004204/1.087, allocations: 273.4 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/1.087, allocations: 80.83 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/1.09, allocations: 1.062 MB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.09, allocations: 9.188 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.09, allocations: 3.891 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.09, allocations: 4.594 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/1.093, allocations: 1.939 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.093, allocations: 0 / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/1.094, allocations: 141.3 kB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/1.094, allocations: 83.47 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/1.094, allocations: 26.36 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/1.096, allocations: 1.669 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.096, allocations: 1.219 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/1.098, allocations: 1 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/1.098, allocations: 272.6 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.098, allocations: 23.95 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/1.099, allocations: 57.86 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/1.099, allocations: 71.81 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/1.099, allocations: 34.47 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006393/1.1, allocations: 461.4 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009619/1.101, allocations: 310.2 kB / 1.269 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.001331/1.102, allocations: 0.6063 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.104, allocations: 0.8273 MB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.104, allocations: 4.625 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009722/1.105, allocations: 0.5143 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.001163/1.106, allocations: 300.4 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.003998/1.11, allocations: 1.729 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/1.111, allocations: 1.02 MB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008797/1.112, allocations: 260.3 kB / 1.275 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/1.112, allocations: 109.7 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.112, allocations: 0 / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of Templates: time 0.03362/1.146, allocations: 14.89 MB / 1.289 GB, free: 163.4 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