Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001205/0.001205, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 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.00108/0.00108, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 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 0.9123/0.9123, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.804/1.804, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.787 GB, free: 11.42 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.091e-05, allocations: 3.031 kB / 0.787 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00493/0.00495, allocations: 4.687 MB / 0.7916 GB, free: 6.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1315/0.1364, allocations: 146.6 MB / 0.9347 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.1373, allocations: 27.81 kB / 0.9348 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.138, allocations: 198.1 kB / 0.935 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1396, allocations: 0.5591 MB / 0.9355 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.1414, allocations: 0.8841 MB / 0.9364 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.1424, allocations: 1.471 MB / 0.9378 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.143, allocations: 393.8 kB / 0.9382 GB, free: 128 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006524/0.1436, allocations: 0.7485 MB / 0.9389 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.1442, allocations: 410.8 kB / 0.9393 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1444, allocations: 124 kB / 0.9394 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.1449, allocations: 0.4916 MB / 0.9399 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.1451, allocations: 322.9 kB / 0.9402 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.1454, allocations: 395 kB / 0.9406 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1465, allocations: 1.284 MB / 0.9418 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1465, allocations: 0 / 0.9418 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1465, allocations: 0 / 0.9418 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.1465, allocations: 0 / 0.9418 GB, free: 12.37 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001601/0.1481, allocations: 1.515 MB / 0.9433 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1481, allocations: 8.031 kB / 0.9433 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009042/0.149, allocations: 351.4 kB / 0.9437 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.1498, allocations: 0.7286 MB / 0.9444 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.1498, allocations: 70.12 kB / 0.9444 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.1499, allocations: 92 kB / 0.9445 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.1509, allocations: 1.021 MB / 0.9455 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1509, allocations: 0 / 0.9455 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.1509, allocations: 36 kB / 0.9456 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.151, allocations: 20 kB / 0.9456 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/0.1519, allocations: 0.7918 MB / 0.9464 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.1543, allocations: 2.368 MB / 0.9487 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.155, allocations: 0.5107 MB / 0.9492 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.1553, allocations: 180.9 kB / 0.9493 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.1553, allocations: 24.64 kB / 0.9494 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.1558, allocations: 0.4947 MB / 0.9498 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=87): time 1.783e-06/0.1558, allocations: 0 / 0.9498 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=87): time 0.001473/0.1573, allocations: 0.847 MB / 0.9507 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.1573, allocations: 196.9 kB / 0.9509 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.1578, allocations: 0.5892 MB / 0.9514 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.1578, allocations: 45.7 kB / 0.9515 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.1581, allocations: 455.9 kB / 0.9519 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.1582, allocations: 285.6 kB / 0.9522 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.1584, allocations: 184.2 kB / 0.9524 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1585, allocations: 0.5586 MB / 0.9529 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.1589, allocations: 145.9 kB / 0.953 GB, free: 500 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.1592, allocations: 381.7 kB / 0.9534 GB, free: 68 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.1597, allocations: 403.1 kB / 0.9538 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1597, allocations: 0 / 0.9538 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009779/0.1607, allocations: 0.6762 MB / 0.9545 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1607, allocations: 9.391 kB / 0.9545 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1607, allocations: 4 kB / 0.9545 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.1612, allocations: 131.6 kB / 0.9546 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.1616, allocations: 179.7 kB / 0.9548 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.163, allocations: 1.905 MB / 0.9566 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.1632, allocations: 71.59 kB / 0.9567 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.1633, allocations: 35.98 kB / 0.9567 GB, free: 12.52 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0002208/0.1635, allocations: 223.3 kB / 0.9569 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.1636, allocations: 115.4 kB / 0.9571 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.1649, allocations: 0.8458 MB / 0.9579 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1649, allocations: 11.98 kB / 0.9579 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1649, allocations: 4 kB / 0.9579 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1649, allocations: 3.984 kB / 0.9579 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.1668, allocations: 1.667 MB / 0.9595 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1668, allocations: 4 kB / 0.9595 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.1671, allocations: 143.8 kB / 0.9597 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003513/0.1674, allocations: 115.6 kB / 0.9598 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.1675, allocations: 31.91 kB / 0.9598 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.1688, allocations: 1.914 MB / 0.9617 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1688, allocations: 4 kB / 0.9617 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1699, allocations: 0.8844 MB / 0.9625 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.1701, allocations: 195.1 kB / 0.9627 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.1702, allocations: 24 kB / 0.9628 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.1704, allocations: 47.95 kB / 0.9628 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1705, allocations: 76.8 kB / 0.9629 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.1706, allocations: 43.97 kB / 0.9629 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002988/0.1709, allocations: 395 kB / 0.9633 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.1709, allocations: 0 / 0.9633 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005238/0.1714, allocations: 343.1 kB / 0.9636 GB, free: 5.211 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001186/0.1726, allocations: 0.6212 MB / 0.9642 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008632/0.1734, allocations: 0.6799 MB / 0.9649 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1734, allocations: 0 / 0.9649 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.1739, allocations: 488.9 kB / 0.9654 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.1745, allocations: 324.4 kB / 0.9657 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1766, allocations: 1.52 MB / 0.9671 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.1767, allocations: 198.9 kB / 0.9673 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003936/0.1771, allocations: 250.7 kB / 0.9676 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.1773, allocations: 112.5 kB / 0.9677 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.1773, allocations: 4 kB / 0.9677 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of Templates: time 0.01853/0.1958, allocations: 15.87 MB / 0.9832 GB, free: 1.531 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.780981465708464]