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.000891/0.000891, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009765/0.0009765, allocations: 165 kB / 23.82 MB, free: 0.7461 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.8784/0.8784, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.761/1.761, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.494e-05, allocations: 9.688 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004563/0.004578, allocations: 4.699 MB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1175/0.122, allocations: 146.6 MB / 0.9592 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000775/0.1228, allocations: 23.81 kB / 0.9592 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.1234, allocations: 198.1 kB / 0.9594 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.1248, allocations: 0.5707 MB / 0.96 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1264, allocations: 0.8763 MB / 0.9608 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1277, allocations: 1.463 MB / 0.9623 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.1284, allocations: 410.9 kB / 0.9627 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000944/0.1293, allocations: 0.7757 MB / 0.9634 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.1298, allocations: 382.8 kB / 0.9638 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1299, allocations: 112 kB / 0.9639 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007559/0.1307, allocations: 499.4 kB / 0.9644 GB, free: 4.684 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1309, allocations: 302.9 kB / 0.9647 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.1312, allocations: 379 kB / 0.965 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1326, allocations: 1.242 MB / 0.9662 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1326, allocations: 0 / 0.9662 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1326, allocations: 0 / 0.9662 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.1326, allocations: 3.984 kB / 0.9662 GB, free: 2.762 MB / 0.9167 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.001906/0.1345, allocations: 1.508 MB / 0.9677 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1346, allocations: 8.031 kB / 0.9677 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.1358, allocations: 347.5 kB / 0.968 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.1368, allocations: 0.715 MB / 0.9687 GB, free: 124 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.1368, allocations: 70.12 kB / 0.9688 GB, free: 52 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1369, allocations: 96.06 kB / 0.9689 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.1381, allocations: 0.936 MB / 0.9698 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1381, allocations: 8 kB / 0.9698 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.1382, allocations: 36 kB / 0.9699 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.1382, allocations: 20 kB / 0.9699 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1393, allocations: 0.7919 MB / 0.9706 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.1422, allocations: 2.321 MB / 0.9729 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.1431, allocations: 0.5027 MB / 0.9734 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.1434, allocations: 185.5 kB / 0.9736 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.1435, allocations: 36.58 kB / 0.9736 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.144, allocations: 494.5 kB / 0.9741 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 2.765e-06/0.144, allocations: 0 / 0.9741 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001853/0.1459, allocations: 0.8391 MB / 0.9749 GB, free: 9.582 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.146, allocations: 200.9 kB / 0.9751 GB, free: 9.34 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.1465, allocations: 0.5738 MB / 0.9757 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.1466, allocations: 49.7 kB / 0.9757 GB, free: 8.699 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.1469, allocations: 451.9 kB / 0.9761 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.1471, allocations: 289.5 kB / 0.9764 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.1473, allocations: 184.2 kB / 0.9766 GB, free: 7.777 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.1475, allocations: 0.5586 MB / 0.9771 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1478, allocations: 141.9 kB / 0.9773 GB, free: 7.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.1482, allocations: 385.8 kB / 0.9776 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.1488, allocations: 395.1 kB / 0.978 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1488, allocations: 0 / 0.978 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001226/0.15, allocations: 0.6801 MB / 0.9787 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1501, allocations: 8 kB / 0.9787 GB, free: 5.539 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1501, allocations: 0 / 0.9787 GB, free: 5.539 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.1506, allocations: 127.6 kB / 0.9788 GB, free: 5.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.1511, allocations: 183.7 kB / 0.979 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.1526, allocations: 1.9 MB / 0.9808 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.1529, allocations: 75.55 kB / 0.9809 GB, free: 3.133 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.153, allocations: 39.98 kB / 0.9809 GB, free: 3.094 MB / 0.9323 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.0002259/0.1532, allocations: 219.1 kB / 0.9812 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.1534, allocations: 115.5 kB / 0.9813 GB, free: 2.754 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.1549, allocations: 0.8497 MB / 0.9821 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1549, allocations: 8 kB / 0.9821 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1549, allocations: 0 / 0.9821 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1549, allocations: 3.984 kB / 0.9821 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.1571, allocations: 1.628 MB / 0.9837 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1571, allocations: 0 / 0.9837 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.1575, allocations: 155.7 kB / 0.9838 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.158, allocations: 123.5 kB / 0.984 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.158, allocations: 27.97 kB / 0.984 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.1593, allocations: 1.921 MB / 0.9859 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1593, allocations: 0 / 0.9859 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.1606, allocations: 0.8805 MB / 0.9867 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.1608, allocations: 187.2 kB / 0.9869 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.1608, allocations: 27.98 kB / 0.9869 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1611, allocations: 41.88 kB / 0.987 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1612, allocations: 72.88 kB / 0.987 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.1612, allocations: 39.97 kB / 0.9871 GB, free: 12.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002779/0.1615, allocations: 387 kB / 0.9875 GB, free: 12.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1615, allocations: 0 / 0.9875 GB, free: 12.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005406/0.162, allocations: 335.1 kB / 0.9878 GB, free: 11.86 MB / 0.948 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.001188/0.1632, allocations: 0.6433 MB / 0.9884 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008661/0.1641, allocations: 0.6798 MB / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1641, allocations: 0 / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.1645, allocations: 481 kB / 0.9895 GB, free: 10.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.1652, allocations: 323.1 kB / 0.9898 GB, free: 9.898 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1673, allocations: 1.506 MB / 0.9913 GB, free: 8.355 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.1674, allocations: 198.9 kB / 0.9915 GB, free: 8.141 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004479/0.1679, allocations: 250.7 kB / 0.9917 GB, free: 7.891 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.168, allocations: 112.5 kB / 0.9918 GB, free: 7.781 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.168, allocations: 0 / 0.9918 GB, free: 7.781 MB / 0.948 GB Notification: Performance of Templates: time 0.01851/0.1866, allocations: 16.57 MB / 1.008 GB, free: 7.496 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.515359856188297]