Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001341/0.001341, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001457/0.001457, allocations: 169 kB / 24.28 MB, free: 276 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.9009/0.9009, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.822/1.822, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.991e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004828/0.004848, allocations: 4.655 MB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.127/0.1318, allocations: 146.3 MB / 0.9589 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.1325, allocations: 19.88 kB / 0.9589 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.133, allocations: 202.1 kB / 0.9591 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.1343, allocations: 0.5669 MB / 0.9597 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1356, allocations: 0.8608 MB / 0.9605 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.1367, allocations: 1.456 MB / 0.9619 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.1372, allocations: 389.8 kB / 0.9623 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006763/0.1379, allocations: 0.7368 MB / 0.963 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.1382, allocations: 402.8 kB / 0.9634 GB, free: 6 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1383, allocations: 124 kB / 0.9635 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005593/0.1389, allocations: 495.4 kB / 0.964 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.1391, allocations: 315 kB / 0.9643 GB, free: 5.086 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.1393, allocations: 391 kB / 0.9647 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1405, allocations: 1.265 MB / 0.9659 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1405, allocations: 4 kB / 0.9659 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1405, allocations: 0 / 0.9659 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.1405, allocations: 4 kB / 0.9659 GB, free: 3.422 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001605/0.1421, allocations: 1.508 MB / 0.9674 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1421, allocations: 8.031 kB / 0.9674 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.143, allocations: 315.6 kB / 0.9677 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.1438, allocations: 0.7247 MB / 0.9684 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.1438, allocations: 70.12 kB / 0.9685 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.1439, allocations: 95.98 kB / 0.9686 GB, free: 0.6406 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.145, allocations: 1.005 MB / 0.9696 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.145, allocations: 4 kB / 0.9696 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.145, allocations: 32 kB / 0.9696 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.1451, allocations: 20 kB / 0.9696 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008317/0.1459, allocations: 0.788 MB / 0.9704 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.1482, allocations: 2.324 MB / 0.9726 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.1489, allocations: 0.4983 MB / 0.9731 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.1492, allocations: 176.3 kB / 0.9733 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.1492, allocations: 32.56 kB / 0.9733 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.1497, allocations: 0.4962 MB / 0.9738 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 1.823e-06/0.1497, allocations: 0 / 0.9738 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001529/0.1512, allocations: 0.8508 MB / 0.9746 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.1513, allocations: 200.9 kB / 0.9748 GB, free: 9.934 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.1518, allocations: 0.5777 MB / 0.9754 GB, free: 9.34 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.1518, allocations: 53.7 kB / 0.9755 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.1522, allocations: 447.9 kB / 0.9759 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.1523, allocations: 293.5 kB / 0.9762 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1525, allocations: 180.2 kB / 0.9763 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1526, allocations: 0.5586 MB / 0.9769 GB, free: 7.793 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1528, allocations: 149.9 kB / 0.977 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.1532, allocations: 385.7 kB / 0.9774 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.1537, allocations: 403.1 kB / 0.9778 GB, free: 6.809 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1537, allocations: 0 / 0.9778 GB, free: 6.809 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000986/0.1547, allocations: 0.6801 MB / 0.9784 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1547, allocations: 8.094 kB / 0.9784 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1547, allocations: 0 / 0.9784 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.1552, allocations: 131.5 kB / 0.9786 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.1555, allocations: 175.8 kB / 0.9787 GB, free: 5.805 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.1568, allocations: 1.906 MB / 0.9806 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1571, allocations: 75.59 kB / 0.9807 GB, free: 3.699 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.1571, allocations: 39.97 kB / 0.9807 GB, free: 3.66 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.0001929/0.1573, allocations: 211.1 kB / 0.9809 GB, free: 3.445 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.1575, allocations: 123.4 kB / 0.981 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1586, allocations: 0.8458 MB / 0.9819 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1586, allocations: 8 kB / 0.9819 GB, free: 2.453 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1586, allocations: 4 kB / 0.9819 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1587, allocations: 3.984 kB / 0.9819 GB, free: 2.445 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.1606, allocations: 1.639 MB / 0.9835 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1606, allocations: 0 / 0.9835 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.1609, allocations: 147.8 kB / 0.9836 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003359/0.1612, allocations: 111.6 kB / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.1613, allocations: 27.97 kB / 0.9837 GB, free: 468 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1623, allocations: 1.93 MB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1623, allocations: 0 / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.1633, allocations: 0.8728 MB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.1635, allocations: 199.2 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.1636, allocations: 27.94 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1638, allocations: 47.94 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1639, allocations: 76.86 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.164, allocations: 35.97 kB / 0.9869 GB, free: 13.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002872/0.1643, allocations: 398.9 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1643, allocations: 0 / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000529/0.1648, allocations: 343 kB / 0.9876 GB, free: 12.41 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.001213/0.166, allocations: 0.6197 MB / 0.9882 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008348/0.1668, allocations: 0.6757 MB / 0.9888 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1668, allocations: 8.172 kB / 0.9888 GB, free: 11.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.1673, allocations: 489 kB / 0.9893 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.168, allocations: 320.5 kB / 0.9896 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.17, allocations: 1.502 MB / 0.9911 GB, free: 8.926 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.1702, allocations: 194.9 kB / 0.9913 GB, free: 8.707 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004194/0.1706, allocations: 254.7 kB / 0.9915 GB, free: 8.453 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.1707, allocations: 116.4 kB / 0.9916 GB, free: 8.34 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/0.1708, allocations: 0 / 0.9916 GB, free: 8.34 MB / 0.948 GB Notification: Performance of Templates: time 0.01728/0.188, allocations: 15.71 MB / 1.007 GB, free: 8.922 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.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.679128417978063]