Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 209.8 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 69.16 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006784/0.3299, allocations: 4.38 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.4988, allocations: 132.7 MB / 1.461 GB, free: 7.402 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007262/0.4995, allocations: 23.81 kB / 1.461 GB, free: 7.379 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.5001, allocations: 194.2 kB / 1.461 GB, free: 7.188 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.5018, allocations: 0.5581 MB / 1.462 GB, free: 6.629 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.5037, allocations: 0.8635 MB / 1.463 GB, free: 5.773 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.5053, allocations: 1.413 MB / 1.464 GB, free: 4.355 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007678/0.5061, allocations: 414.5 kB / 1.464 GB, free: 3.926 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007697/0.5068, allocations: 0.5022 MB / 1.465 GB, free: 3.422 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/0.5075, allocations: 0.5056 MB / 1.465 GB, free: 2.914 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.5077, allocations: 120 kB / 1.465 GB, free: 2.797 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009405/0.5086, allocations: 0.4996 MB / 1.466 GB, free: 2.297 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.5089, allocations: 307 kB / 1.466 GB, free: 1.996 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.5094, allocations: 461.8 kB / 1.467 GB, free: 1.543 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.5115, allocations: 1.705 MB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5115, allocations: 0 / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5115, allocations: 0 / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.5115, allocations: 0 / 1.468 GB, free: 15.83 MB / 1.17 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.002792/0.5143, allocations: 1.411 MB / 1.47 GB, free: 14.39 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.5143, allocations: 8.031 kB / 1.47 GB, free: 14.38 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.516, allocations: 240 kB / 1.47 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.5173, allocations: 0.7182 MB / 1.471 GB, free: 13.4 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.5174, allocations: 58 kB / 1.471 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5175, allocations: 84 kB / 1.471 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.5194, allocations: 1.169 MB / 1.472 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.5194, allocations: 0 / 1.472 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.801e-05/0.5195, allocations: 36 kB / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.5196, allocations: 23.94 kB / 1.472 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.5214, allocations: 1.069 MB / 1.473 GB, free: 10.86 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.5254, allocations: 2.12 MB / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.527, allocations: 0.7597 MB / 1.476 GB, free: 7.914 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.5276, allocations: 278.7 kB / 1.476 GB, free: 7.641 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.5277, allocations: 32.5 kB / 1.476 GB, free: 7.609 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000995/0.5287, allocations: 0.588 MB / 1.477 GB, free: 6.977 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.665e-06/0.5287, allocations: 0 / 1.477 GB, free: 6.977 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003353/0.532, allocations: 1.115 MB / 1.478 GB, free: 5.852 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5321, allocations: 188.6 kB / 1.478 GB, free: 5.625 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.533, allocations: 0.5979 MB / 1.478 GB, free: 5.02 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.349e-05/0.533, allocations: 45.69 kB / 1.479 GB, free: 4.969 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.5334, allocations: 412.9 kB / 1.479 GB, free: 4.559 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.5337, allocations: 257.8 kB / 1.479 GB, free: 4.305 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.534, allocations: 162.6 kB / 1.479 GB, free: 4.141 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.5342, allocations: 386.7 kB / 1.48 GB, free: 3.754 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.5347, allocations: 269.9 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.5355, allocations: 491.6 kB / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.5367, allocations: 0.6033 MB / 1.481 GB, free: 2.352 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5367, allocations: 0 / 1.481 GB, free: 2.352 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002181/0.5389, allocations: 0.8492 MB / 1.482 GB, free: 1.488 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5389, allocations: 8 kB / 1.482 GB, free: 1.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5389, allocations: 4.094 kB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006887/0.5396, allocations: 84.7 kB / 1.482 GB, free: 1.391 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.5403, allocations: 159.8 kB / 1.482 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.5427, allocations: 1.526 MB / 1.484 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/0.5435, allocations: 83.61 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.5436, allocations: 35.97 kB / 1.484 GB, free: 15.48 MB / 1.186 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.0005032/0.5441, allocations: 271.6 kB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.5443, allocations: 91.41 kB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.5469, allocations: 1.053 MB / 1.485 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.5469, allocations: 12 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5469, allocations: 0 / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.547, allocations: 3.984 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.5503, allocations: 1.702 MB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5503, allocations: 3.938 kB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.5509, allocations: 147.7 kB / 1.487 GB, free: 12.15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.5514, allocations: 72.8 kB / 1.487 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.5515, allocations: 27.97 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.5535, allocations: 1.536 MB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5535, allocations: 0 / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.5557, allocations: 0.9985 MB / 1.489 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.5561, allocations: 203.1 kB / 1.49 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5562, allocations: 23.94 kB / 1.49 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.557, allocations: 55.94 kB / 1.49 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.5571, allocations: 76.86 kB / 1.49 GB, free: 9.031 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.5572, allocations: 39.97 kB / 1.49 GB, free: 8.992 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005873/0.5578, allocations: 435 kB / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5578, allocations: 0 / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009105/0.5587, allocations: 327.1 kB / 1.491 GB, free: 8.254 MB / 1.186 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.0021/0.5608, allocations: 0.6488 MB / 1.491 GB, free: 7.805 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.5625, allocations: 0.7923 MB / 1.492 GB, free: 7.004 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5625, allocations: 4 kB / 1.492 GB, free: 7 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009609/0.5635, allocations: 496.3 kB / 1.492 GB, free: 6.5 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.5647, allocations: 291.9 kB / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.5677, allocations: 1.672 MB / 1.494 GB, free: 4.527 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.5682, allocations: 431.6 kB / 1.495 GB, free: 4.078 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007505/0.5689, allocations: 254.3 kB / 1.495 GB, free: 3.824 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.5692, allocations: 111.4 kB / 1.495 GB, free: 3.715 MB / 1.186 GB Notification: Performance of SimCode: time 4.71e-07/0.5692, allocations: 0 / 1.495 GB, free: 3.715 MB / 1.186 GB Notification: Performance of Templates: time 0.02875/0.598, allocations: 16.54 MB / 1.511 GB, free: 3.426 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.407671995009878]