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.0009298/0.0009298, 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.0009366/0.0009366, 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.902/0.902, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.412e-06/1.412e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.691e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004429/0.004446, allocations: 4.692 MB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1186/0.123, allocations: 146.5 MB / 0.9592 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006598/0.1237, allocations: 19.88 kB / 0.9592 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.1241, allocations: 202.1 kB / 0.9594 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.1254, allocations: 0.5746 MB / 0.96 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1266, allocations: 0.8646 MB / 0.9608 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.128, allocations: 1.444 MB / 0.9622 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.1284, allocations: 389.8 kB / 0.9626 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.1292, allocations: 0.7757 MB / 0.9634 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.1296, allocations: 374.9 kB / 0.9637 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1297, allocations: 111.9 kB / 0.9638 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/0.1303, allocations: 487.4 kB / 0.9643 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.1304, allocations: 291 kB / 0.9646 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1307, allocations: 378.9 kB / 0.9649 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1318, allocations: 1.234 MB / 0.9661 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1318, allocations: 0 / 0.9661 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1318, allocations: 0 / 0.9661 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.1318, allocations: 0 / 0.9661 GB, free: 2.875 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.001497/0.1333, allocations: 1.496 MB / 0.9676 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1333, allocations: 12.03 kB / 0.9676 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.1341, allocations: 323.6 kB / 0.9679 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.1348, allocations: 0.7111 MB / 0.9686 GB, free: 276 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.1349, allocations: 70.12 kB / 0.9687 GB, free: 204 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.1349, allocations: 88 kB / 0.9688 GB, free: 116 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.1361, allocations: 0.936 MB / 0.9697 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1361, allocations: 0 / 0.9697 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.1361, allocations: 32 kB / 0.9697 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.1362, allocations: 20 kB / 0.9697 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008191/0.137, allocations: 0.7957 MB / 0.9705 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.1392, allocations: 2.277 MB / 0.9727 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.1399, allocations: 0.497 MB / 0.9732 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.1402, allocations: 183.2 kB / 0.9734 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.1402, allocations: 28.64 kB / 0.9734 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.1407, allocations: 498.6 kB / 0.9739 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 2.024e-06/0.1407, allocations: 0 / 0.9739 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001435/0.1421, allocations: 0.8431 MB / 0.9747 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.1422, allocations: 204.8 kB / 0.9749 GB, free: 9.551 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.1426, allocations: 0.5699 MB / 0.9755 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.1426, allocations: 45.7 kB / 0.9755 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.1428, allocations: 459.9 kB / 0.9759 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.1432, allocations: 281.6 kB / 0.9762 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1434, allocations: 188.2 kB / 0.9764 GB, free: 7.992 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1435, allocations: 0.5586 MB / 0.9769 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1438, allocations: 141.9 kB / 0.9771 GB, free: 7.281 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.1441, allocations: 381.8 kB / 0.9774 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.1445, allocations: 399.1 kB / 0.9778 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1445, allocations: 0 / 0.9778 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009129/0.1454, allocations: 0.6802 MB / 0.9785 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1455, allocations: 8 kB / 0.9785 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1455, allocations: 3.984 kB / 0.9785 GB, free: 5.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.1459, allocations: 127.6 kB / 0.9786 GB, free: 5.621 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.1463, allocations: 179.7 kB / 0.9788 GB, free: 5.445 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1475, allocations: 1.905 MB / 0.9806 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1477, allocations: 71.59 kB / 0.9807 GB, free: 3.344 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.1478, allocations: 35.98 kB / 0.9807 GB, free: 3.309 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.0001843/0.148, allocations: 223.1 kB / 0.981 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1481, allocations: 115.4 kB / 0.9811 GB, free: 2.965 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1492, allocations: 0.8497 MB / 0.9819 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1492, allocations: 12 kB / 0.9819 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1492, allocations: 0 / 0.9819 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1492, allocations: 3.984 kB / 0.9819 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.1512, allocations: 1.612 MB / 0.9835 GB, free: 420 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1512, allocations: 0 / 0.9835 GB, free: 420 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.1515, allocations: 147.7 kB / 0.9836 GB, free: 272 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.1518, allocations: 119.6 kB / 0.9837 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.1518, allocations: 31.97 kB / 0.9838 GB, free: 116 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.1528, allocations: 1.918 MB / 0.9856 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1528, allocations: 0 / 0.9856 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.1538, allocations: 0.8766 MB / 0.9865 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.154, allocations: 191.1 kB / 0.9867 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.154, allocations: 23.98 kB / 0.9867 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1543, allocations: 39.97 kB / 0.9867 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1544, allocations: 76.8 kB / 0.9868 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.1544, allocations: 40.05 kB / 0.9869 GB, free: 12.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002729/0.1547, allocations: 387 kB / 0.9872 GB, free: 12.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1547, allocations: 0 / 0.9872 GB, free: 12.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005707/0.1552, allocations: 331.1 kB / 0.9875 GB, free: 12.11 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.001286/0.1565, allocations: 0.6247 MB / 0.9882 GB, free: 11.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008554/0.1574, allocations: 0.672 MB / 0.9888 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1574, allocations: 4 kB / 0.9888 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.1578, allocations: 477 kB / 0.9893 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.1585, allocations: 330.1 kB / 0.9896 GB, free: 10.17 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1611, allocations: 1.51 MB / 0.9911 GB, free: 8.625 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.1613, allocations: 190.9 kB / 0.9912 GB, free: 8.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000547/0.1618, allocations: 258.6 kB / 0.9915 GB, free: 8.152 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.162, allocations: 108.5 kB / 0.9916 GB, free: 8.047 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/0.162, allocations: 0 / 0.9916 GB, free: 8.047 MB / 0.948 GB Notification: Performance of Templates: time 0.01965/0.1816, allocations: 16.41 MB / 1.008 GB, free: 7.93 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.4814521432854235]