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.002025/0.002025, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002606/0.002606, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.797 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.276/3.276, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] 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.002094/0.002094, allocations: 67.59 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 176.1 MB / 1.325 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006758/0.3376, allocations: 4.382 MB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.5141, allocations: 132.7 MB / 1.459 GB, free: 8.309 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008127/0.5149, allocations: 23.81 kB / 1.459 GB, free: 8.285 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.5158, allocations: 198.2 kB / 1.46 GB, free: 8.09 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.5181, allocations: 0.5594 MB / 1.46 GB, free: 7.531 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.5207, allocations: 0.859 MB / 1.461 GB, free: 6.676 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.5226, allocations: 1.398 MB / 1.462 GB, free: 5.273 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.5235, allocations: 402.6 kB / 1.463 GB, free: 4.855 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009103/0.5244, allocations: 0.4984 MB / 1.463 GB, free: 4.355 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.5253, allocations: 469.8 kB / 1.464 GB, free: 3.895 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.5256, allocations: 120 kB / 1.464 GB, free: 3.777 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.5268, allocations: 0.4918 MB / 1.464 GB, free: 3.285 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.5272, allocations: 299 kB / 1.465 GB, free: 2.992 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009104/0.5281, allocations: 461.7 kB / 1.465 GB, free: 2.539 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.531, allocations: 1.708 MB / 1.467 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5311, allocations: 0 / 1.467 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5311, allocations: 0 / 1.467 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.618e-05/0.5311, allocations: 0 / 1.467 GB, free: 0.8242 MB / 1.154 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.003485/0.5346, allocations: 1.415 MB / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5346, allocations: 12.03 kB / 1.468 GB, free: 15.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.5364, allocations: 236 kB / 1.468 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.538, allocations: 0.7182 MB / 1.469 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.5381, allocations: 66 kB / 1.469 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.5382, allocations: 76 kB / 1.469 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.5402, allocations: 1.165 MB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.5403, allocations: 4 kB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5404, allocations: 36 kB / 1.47 GB, free: 12.94 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.5404, allocations: 20 kB / 1.47 GB, free: 12.92 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.5424, allocations: 1.069 MB / 1.471 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004383/0.5467, allocations: 2.108 MB / 1.473 GB, free: 9.688 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5485, allocations: 0.7742 MB / 1.474 GB, free: 8.906 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/0.549, allocations: 282.7 kB / 1.474 GB, free: 8.629 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.569e-05/0.5491, allocations: 28.56 kB / 1.474 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5502, allocations: 0.588 MB / 1.475 GB, free: 7.969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.885e-06/0.5502, allocations: 0 / 1.475 GB, free: 7.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003421/0.5536, allocations: 1.115 MB / 1.476 GB, free: 6.844 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.5537, allocations: 192.6 kB / 1.476 GB, free: 6.613 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5547, allocations: 0.5939 MB / 1.477 GB, free: 6.012 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/0.5548, allocations: 41.69 kB / 1.477 GB, free: 5.965 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.5553, allocations: 413 kB / 1.477 GB, free: 5.555 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.5555, allocations: 269.7 kB / 1.478 GB, free: 5.289 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.5558, allocations: 162.6 kB / 1.478 GB, free: 5.125 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.5561, allocations: 386.7 kB / 1.478 GB, free: 4.738 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.5567, allocations: 261.9 kB / 1.478 GB, free: 4.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007791/0.5575, allocations: 495.6 kB / 1.479 GB, free: 3.953 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.5587, allocations: 0.6073 MB / 1.479 GB, free: 3.336 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5588, allocations: 0 / 1.479 GB, free: 3.336 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002191/0.5609, allocations: 0.8492 MB / 1.48 GB, free: 2.473 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.561, allocations: 4 kB / 1.48 GB, free: 2.469 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.561, allocations: 0 / 1.48 GB, free: 2.469 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/0.5616, allocations: 88.86 kB / 1.48 GB, free: 2.379 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.5623, allocations: 155.8 kB / 1.48 GB, free: 2.227 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.5647, allocations: 1.524 MB / 1.482 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008399/0.5656, allocations: 87.64 kB / 1.482 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5657, allocations: 35.97 kB / 1.482 GB, free: 488 kB / 1.17 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.0006393/0.5663, allocations: 271.4 kB / 1.482 GB, free: 204 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.5666, allocations: 83.42 kB / 1.482 GB, free: 120 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.5693, allocations: 1.057 MB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.5693, allocations: 12 kB / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5693, allocations: 0 / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5693, allocations: 3.984 kB / 1.483 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/0.573, allocations: 1.706 MB / 1.485 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.573, allocations: 3.938 kB / 1.485 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/0.5736, allocations: 135.8 kB / 1.485 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.5741, allocations: 72.78 kB / 1.485 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/0.5741, allocations: 27.97 kB / 1.485 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.5763, allocations: 1.54 MB / 1.487 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5763, allocations: 0 / 1.487 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.5785, allocations: 0.9946 MB / 1.488 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.5791, allocations: 207.1 kB / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.5792, allocations: 23.88 kB / 1.488 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.5799, allocations: 68.02 kB / 1.488 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.5801, allocations: 72.84 kB / 1.488 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.5802, allocations: 39.97 kB / 1.488 GB, free: 9.98 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006602/0.5808, allocations: 435 kB / 1.489 GB, free: 9.562 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5808, allocations: 0 / 1.489 GB, free: 9.562 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009997/0.5818, allocations: 327.1 kB / 1.489 GB, free: 9.242 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.002299/0.5841, allocations: 0.6371 MB / 1.49 GB, free: 8.805 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001916/0.5861, allocations: 0.7922 MB / 1.49 GB, free: 8.004 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5861, allocations: 3.938 kB / 1.49 GB, free: 8 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.5871, allocations: 0.4964 MB / 1.491 GB, free: 7.492 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.5885, allocations: 294.2 kB / 1.491 GB, free: 7.227 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.592, allocations: 1.668 MB / 1.493 GB, free: 5.52 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.5926, allocations: 427.6 kB / 1.493 GB, free: 5.074 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008918/0.5935, allocations: 262.2 kB / 1.493 GB, free: 4.812 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.5938, allocations: 107.4 kB / 1.493 GB, free: 4.707 MB / 1.186 GB Notification: Performance of SimCode: time 1.212e-06/0.5938, allocations: 0 / 1.493 GB, free: 4.707 MB / 1.186 GB Notification: Performance of Templates: time 0.02974/0.6235, allocations: 16.31 MB / 1.509 GB, free: 4.645 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 -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/jenkins/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.891705501824617]