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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 496 MB / 0.7835 GB, free: 33.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 73.86 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3841, allocations: 173.6 MB / 1.307 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006988/0.3911, allocations: 4.883 MB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.5732, allocations: 151.2 MB / 1.46 GB, free: 5.184 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.5746, allocations: 23.81 kB / 1.46 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.5758, allocations: 190.3 kB / 1.46 GB, free: 4.973 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.5788, allocations: 0.5585 MB / 1.46 GB, free: 4.414 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.5815, allocations: 0.8628 MB / 1.461 GB, free: 3.559 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5836, allocations: 1.378 MB / 1.463 GB, free: 2.176 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.5845, allocations: 425.7 kB / 1.463 GB, free: 1.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008575/0.5853, allocations: 498.3 kB / 1.463 GB, free: 1.242 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006891/0.586, allocations: 0.5057 MB / 1.464 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.5862, allocations: 116 kB / 1.464 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009962/0.5872, allocations: 487.6 kB / 1.465 GB, free: 148 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.5875, allocations: 295.1 kB / 1.465 GB, free: 15.86 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.5881, allocations: 0.5597 MB / 1.465 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.5902, allocations: 1.65 MB / 1.467 GB, free: 13.64 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5902, allocations: 11.98 kB / 1.467 GB, free: 13.62 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5902, allocations: 0 / 1.467 GB, free: 13.62 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.5903, allocations: 0 / 1.467 GB, free: 13.62 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.002731/0.593, allocations: 1.372 MB / 1.468 GB, free: 12.22 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.593, allocations: 8.922 kB / 1.468 GB, free: 12.21 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009464/0.594, allocations: 192.1 kB / 1.469 GB, free: 12.03 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5953, allocations: 0.7018 MB / 1.469 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.5953, allocations: 66 kB / 1.469 GB, free: 11.23 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5955, allocations: 79.94 kB / 1.469 GB, free: 11.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.5972, allocations: 0.9223 MB / 1.47 GB, free: 10.19 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.5972, allocations: 0 / 1.47 GB, free: 10.19 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.5973, allocations: 36 kB / 1.47 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.5973, allocations: 20 kB / 1.47 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.5992, allocations: 1.112 MB / 1.471 GB, free: 9.027 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.6036, allocations: 2.701 MB / 1.474 GB, free: 6.195 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.6052, allocations: 0.7817 MB / 1.475 GB, free: 5.402 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.6058, allocations: 282.7 kB / 1.475 GB, free: 5.125 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.33e-05/0.6059, allocations: 28.61 kB / 1.475 GB, free: 5.098 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009004/0.6068, allocations: 499.2 kB / 1.476 GB, free: 4.59 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.345e-06/0.6068, allocations: 0 / 1.476 GB, free: 4.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003258/0.61, allocations: 1.115 MB / 1.477 GB, free: 3.465 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.6102, allocations: 192.6 kB / 1.477 GB, free: 3.234 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/0.611, allocations: 0.6331 MB / 1.477 GB, free: 2.594 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.6111, allocations: 41.7 kB / 1.478 GB, free: 2.547 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.6115, allocations: 397 kB / 1.478 GB, free: 2.152 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.6118, allocations: 269.8 kB / 1.478 GB, free: 1.887 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.6121, allocations: 162.5 kB / 1.478 GB, free: 1.723 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.6123, allocations: 390.7 kB / 1.479 GB, free: 1.332 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.6129, allocations: 265.8 kB / 1.479 GB, free: 1.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.6135, allocations: 363.1 kB / 1.479 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.6147, allocations: 0.6033 MB / 1.48 GB, free: 88 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6147, allocations: 0 / 1.48 GB, free: 88 kB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002116/0.6168, allocations: 0.857 MB / 1.481 GB, free: 15.22 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.6168, allocations: 4 kB / 1.481 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6168, allocations: 0 / 1.481 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.6174, allocations: 88.8 kB / 1.481 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.6181, allocations: 155.8 kB / 1.481 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.6203, allocations: 1.543 MB / 1.482 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.6211, allocations: 92.48 kB / 1.483 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.6212, allocations: 35.97 kB / 1.483 GB, free: 13.18 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.0004875/0.6217, allocations: 276.2 kB / 1.483 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6218, allocations: 87.44 kB / 1.483 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.6244, allocations: 1.054 MB / 1.484 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6244, allocations: 8 kB / 1.484 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6244, allocations: 7.938 kB / 1.484 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6244, allocations: 7.922 kB / 1.484 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.6279, allocations: 1.927 MB / 1.486 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6279, allocations: 0 / 1.486 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.6285, allocations: 139.8 kB / 1.486 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/0.6289, allocations: 72.78 kB / 1.486 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.629, allocations: 23.98 kB / 1.486 GB, free: 9.512 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.6311, allocations: 1.582 MB / 1.488 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6311, allocations: 0 / 1.488 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.6332, allocations: 0.9985 MB / 1.489 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.6337, allocations: 199.1 kB / 1.489 GB, free: 6.598 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.6338, allocations: 23.98 kB / 1.489 GB, free: 6.574 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/0.6344, allocations: 63.94 kB / 1.489 GB, free: 6.512 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.6346, allocations: 68.86 kB / 1.489 GB, free: 6.445 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.6347, allocations: 35.98 kB / 1.489 GB, free: 6.41 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006452/0.6353, allocations: 455 kB / 1.489 GB, free: 5.969 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6353, allocations: 0 / 1.489 GB, free: 5.969 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008918/0.6362, allocations: 327.2 kB / 1.49 GB, free: 5.648 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.001961/0.6382, allocations: 0.6057 MB / 1.49 GB, free: 5.219 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.64, allocations: 0.8001 MB / 1.491 GB, free: 4.406 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.64, allocations: 4 kB / 1.491 GB, free: 4.402 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009873/0.641, allocations: 496.2 kB / 1.492 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6423, allocations: 303.4 kB / 1.492 GB, free: 3.629 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.6456, allocations: 1.655 MB / 1.493 GB, free: 1.945 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/0.6463, allocations: 1.023 MB / 1.494 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008644/0.6472, allocations: 254.6 kB / 1.495 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.6475, allocations: 103.4 kB / 1.495 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of SimCode: time 7.52e-07/0.6475, allocations: 0 / 1.495 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of Templates: time 0.03068/0.6782, allocations: 15.85 MB / 1.51 GB, free: 0.8516 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.924252975732088]