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.0009866/0.0009866, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009431/0.0009431, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9239/0.9239, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.841/1.841, allocations: 359 MB / 0.6055 GB, free: 11.01 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.372e-06/1.372e-06, allocations: 0 / 0.787 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.002e-05, allocations: 7.156 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.009002/0.009022, allocations: 4.659 MB / 0.7916 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1276/0.1366, allocations: 146.3 MB / 0.9345 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.1376, allocations: 23.81 kB / 0.9345 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.1382, allocations: 194.2 kB / 0.9347 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.1396, allocations: 0.5708 MB / 0.9352 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1411, allocations: 0.8646 MB / 0.9361 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1422, allocations: 1.471 MB / 0.9375 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.1428, allocations: 397.8 kB / 0.9379 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.1435, allocations: 0.7523 MB / 0.9386 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.1439, allocations: 410.8 kB / 0.939 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.144, allocations: 128 kB / 0.9392 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.1446, allocations: 499.4 kB / 0.9396 GB, free: 84 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.1449, allocations: 315 kB / 0.9399 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.1452, allocations: 398.9 kB / 0.9403 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1467, allocations: 1.281 MB / 0.9416 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1467, allocations: 0 / 0.9416 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1467, allocations: 0 / 0.9416 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.1468, allocations: 0 / 0.9416 GB, free: 14.09 MB / 0.9011 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.001887/0.1486, allocations: 1.523 MB / 0.9431 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1487, allocations: 12.03 kB / 0.9431 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.15, allocations: 343.5 kB / 0.9434 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/0.1509, allocations: 0.7247 MB / 0.9441 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.151, allocations: 70.12 kB / 0.9442 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1511, allocations: 91.98 kB / 0.9443 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1523, allocations: 1.021 MB / 0.9453 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1523, allocations: 0 / 0.9453 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.1524, allocations: 32 kB / 0.9453 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.1524, allocations: 20 kB / 0.9453 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.1536, allocations: 0.7958 MB / 0.9461 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008985/0.1625, allocations: 2.375 MB / 0.9484 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.1637, allocations: 0.5089 MB / 0.9489 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.164, allocations: 177.6 kB / 0.9491 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.838e-05/0.1641, allocations: 32.62 kB / 0.9491 GB, free: 6.121 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005733/0.1646, allocations: 498.5 kB / 0.9496 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 2.525e-06/0.1647, allocations: 0 / 0.9496 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87): time 0.007841/0.1725, allocations: 0.8547 MB / 0.9504 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.1726, allocations: 200.9 kB / 0.9506 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.1731, allocations: 0.5738 MB / 0.9512 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.1732, allocations: 49.7 kB / 0.9512 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.1735, allocations: 451.9 kB / 0.9516 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.1736, allocations: 289.5 kB / 0.9519 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005243/0.1789, allocations: 188.2 kB / 0.9521 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1791, allocations: 0.5664 MB / 0.9526 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.1794, allocations: 137.9 kB / 0.9528 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.1798, allocations: 389.8 kB / 0.9531 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.1805, allocations: 391.1 kB / 0.9535 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1805, allocations: 64 / 0.9535 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001294/0.1818, allocations: 0.6879 MB / 0.9542 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1818, allocations: 8 kB / 0.9542 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1818, allocations: 0 / 0.9542 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.1824, allocations: 131.7 kB / 0.9543 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.1829, allocations: 171.8 kB / 0.9545 GB, free: 376 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.1844, allocations: 1.902 MB / 0.9563 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.1848, allocations: 79.55 kB / 0.9564 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.1848, allocations: 44 kB / 0.9565 GB, free: 14.22 MB / 0.9167 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.0002302/0.1851, allocations: 215 kB / 0.9567 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.1852, allocations: 115.4 kB / 0.9568 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.1867, allocations: 0.8458 MB / 0.9576 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.1867, allocations: 11.98 kB / 0.9576 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1867, allocations: 0 / 0.9576 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1867, allocations: 7.984 kB / 0.9576 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.1891, allocations: 1.655 MB / 0.9592 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1891, allocations: 4 kB / 0.9592 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.1895, allocations: 143.8 kB / 0.9594 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.1899, allocations: 111.6 kB / 0.9595 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.19, allocations: 31.92 kB / 0.9595 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.1913, allocations: 1.929 MB / 0.9614 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1913, allocations: 3.984 kB / 0.9614 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.1925, allocations: 0.8766 MB / 0.9623 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.1928, allocations: 199.2 kB / 0.9625 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.28e-05/0.1929, allocations: 23.98 kB / 0.9625 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.1933, allocations: 44.09 kB / 0.9625 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.1934, allocations: 84.78 kB / 0.9626 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.1934, allocations: 35.98 kB / 0.9626 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003576/0.1938, allocations: 387 kB / 0.963 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1938, allocations: 4 kB / 0.963 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007258/0.1945, allocations: 343.1 kB / 0.9633 GB, free: 6.941 MB / 0.9167 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.001275/0.1958, allocations: 0.6329 MB / 0.9639 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.1968, allocations: 0.6757 MB / 0.9646 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1968, allocations: 4 kB / 0.9646 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.1974, allocations: 481.2 kB / 0.9651 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.1986, allocations: 316.2 kB / 0.9654 GB, free: 5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.201, allocations: 1.525 MB / 0.9669 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.2012, allocations: 194.9 kB / 0.967 GB, free: 3.215 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005355/0.2017, allocations: 254.6 kB / 0.9673 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.2019, allocations: 112.4 kB / 0.9674 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of SimCode: time 8.61e-07/0.2019, allocations: 0 / 0.9674 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of Templates: time 0.02014/0.2221, allocations: 15.86 MB / 0.9829 GB, free: 3.254 MB / 0.9323 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.721055001951754]