Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001417/0.001417, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.00141/0.00141, allocations: 177 kB / 23.36 MB, free: 1.137 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.9512/0.9512, allocations: 177.1 MB / 203.8 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.385/2.385, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.445e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005023/0.005047, allocations: 4.635 MB / 0.8431 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1317/0.1368, allocations: 146 MB / 0.9857 GB, free: 6.938 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.1376, allocations: 23.81 kB / 0.9857 GB, free: 6.914 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.1381, allocations: 198.1 kB / 0.9859 GB, free: 6.719 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.1394, allocations: 0.5551 MB / 0.9865 GB, free: 6.16 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.1409, allocations: 0.8528 MB / 0.9873 GB, free: 5.305 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1422, allocations: 1.436 MB / 0.9887 GB, free: 3.863 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.1428, allocations: 405.8 kB / 0.9891 GB, free: 3.434 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008762/0.1436, allocations: 0.764 MB / 0.9898 GB, free: 2.668 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.144, allocations: 374.8 kB / 0.9902 GB, free: 2.301 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1442, allocations: 112 kB / 0.9903 GB, free: 2.191 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.145, allocations: 0.5033 MB / 0.9908 GB, free: 1.688 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.1452, allocations: 291 kB / 0.9911 GB, free: 1.402 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.1455, allocations: 375 kB / 0.9914 GB, free: 1.035 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.147, allocations: 1.23 MB / 0.9926 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.147, allocations: 4 kB / 0.9926 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.22e-07/0.147, allocations: 0 / 0.9926 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.1471, allocations: 0 / 0.9926 GB, free: 15.8 MB / 0.9636 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.001485/0.1486, allocations: 1.351 MB / 0.9939 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1486, allocations: 12.61 kB / 0.994 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.1496, allocations: 300.1 kB / 0.9942 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.1503, allocations: 0.5699 MB / 0.9948 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.1504, allocations: 66.12 kB / 0.9949 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.1504, allocations: 92 kB / 0.995 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.1511, allocations: 0.8679 MB / 0.9958 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1512, allocations: 0 / 0.9958 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.1512, allocations: 32 kB / 0.9958 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1512, allocations: 27.94 kB / 0.9959 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.1518, allocations: 0.5713 MB / 0.9964 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.154, allocations: 1.616 MB / 0.998 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.1545, allocations: 408.3 kB / 0.9984 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1547, allocations: 133.8 kB / 0.9985 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.1547, allocations: 28.64 kB / 0.9985 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.1551, allocations: 455 kB / 0.999 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=87): time 2.555e-06/0.1551, allocations: 0 / 0.999 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87): time 0.00103/0.1561, allocations: 0.5654 MB / 0.9995 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.1562, allocations: 200.9 kB / 0.9997 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.1565, allocations: 0.5055 MB / 1 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.1566, allocations: 45.7 kB / 1 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1567, allocations: 330.4 kB / 1.001 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.1569, allocations: 285.5 kB / 1.001 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1571, allocations: 170.5 kB / 1.001 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1572, allocations: 390.6 kB / 1.001 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1573, allocations: 96.77 kB / 1.001 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.1575, allocations: 323.5 kB / 1.002 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.1579, allocations: 325.2 kB / 1.002 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1579, allocations: 0 / 1.002 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000645/0.1585, allocations: 467 kB / 1.003 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1585, allocations: 10.66 kB / 1.003 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1585, allocations: 0 / 1.003 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.159, allocations: 124.7 kB / 1.003 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.1593, allocations: 179.8 kB / 1.003 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.1604, allocations: 1.318 MB / 1.004 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.1607, allocations: 75.53 kB / 1.004 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.1607, allocations: 31.91 kB / 1.004 GB, free: 3.43 MB / 0.9636 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0001813/0.1609, allocations: 167.2 kB / 1.004 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.161, allocations: 79.95 kB / 1.004 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.1621, allocations: 0.6028 MB / 1.005 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1621, allocations: 23.92 kB / 1.005 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1621, allocations: 0 / 1.005 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1621, allocations: 7.969 kB / 1.005 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1634, allocations: 1.097 MB / 1.006 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1634, allocations: 0 / 1.006 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.1637, allocations: 147.8 kB / 1.006 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/0.164, allocations: 108.8 kB / 1.006 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.164, allocations: 19.98 kB / 1.006 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008912/0.1649, allocations: 1.324 MB / 1.008 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1649, allocations: 0 / 1.008 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.1655, allocations: 0.5594 MB / 1.008 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.1657, allocations: 147.2 kB / 1.008 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.1658, allocations: 20 kB / 1.008 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.166, allocations: 39.97 kB / 1.008 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1661, allocations: 72.94 kB / 1.009 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.1662, allocations: 19.98 kB / 1.009 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000198/0.1664, allocations: 255.5 kB / 1.009 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1664, allocations: 0 / 1.009 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006044/0.167, allocations: 335.1 kB / 1.009 GB, free: 14.25 MB / 0.9792 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 (97): * Single equations (assignments): 86 * 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.001446/0.1684, allocations: 0.7514 MB / 1.01 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.169, allocations: 0.5059 MB / 1.01 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.169, allocations: 8 kB / 1.01 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1694, allocations: 374.9 kB / 1.011 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.17, allocations: 314.3 kB / 1.011 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.1722, allocations: 1.456 MB / 1.012 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1723, allocations: 198.8 kB / 1.013 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003957/0.1727, allocations: 190.7 kB / 1.013 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.1732, allocations: 303 kB / 1.013 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of SimCode: time 1.232e-06/0.1732, allocations: 0 / 1.013 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of Templates: time 0.02035/0.1936, allocations: 16.76 MB / 1.029 GB, free: 9.918 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.832139354199171]