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.0009295/0.0009295, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00091/0.00091, allocations: 173 kB / 23.36 MB, free: 1.133 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.9855/0.9855, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.334/2.334, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.142e-06/1.142e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.855e-05, allocations: 4.281 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004617/0.004635, allocations: 4.584 MB / 0.843 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1296/0.1342, allocations: 146 MB / 0.9856 GB, free: 7.051 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007123/0.1349, allocations: 23.81 kB / 0.9856 GB, free: 7.027 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.1354, allocations: 194.2 kB / 0.9858 GB, free: 6.836 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1367, allocations: 0.5824 MB / 0.9864 GB, free: 6.25 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1382, allocations: 0.8646 MB / 0.9872 GB, free: 5.383 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.1394, allocations: 1.444 MB / 0.9887 GB, free: 3.934 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.1399, allocations: 409.9 kB / 0.989 GB, free: 3.5 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009837/0.1409, allocations: 0.7562 MB / 0.9898 GB, free: 2.742 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.1413, allocations: 378.8 kB / 0.9901 GB, free: 2.371 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1414, allocations: 108 kB / 0.9902 GB, free: 2.266 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.142, allocations: 495.3 kB / 0.9907 GB, free: 1.781 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.1422, allocations: 291 kB / 0.991 GB, free: 1.496 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.1425, allocations: 375 kB / 0.9914 GB, free: 1.129 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1436, allocations: 1.23 MB / 0.9926 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1436, allocations: 3.984 kB / 0.9926 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1436, allocations: 0 / 0.9926 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1436, allocations: 0 / 0.9926 GB, free: 15.89 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.001339/0.1449, allocations: 1.351 MB / 0.9939 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.145, allocations: 8.625 kB / 0.9939 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007337/0.1457, allocations: 296.2 kB / 0.9942 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.1464, allocations: 0.5777 MB / 0.9947 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.1464, allocations: 66.12 kB / 0.9948 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.1465, allocations: 92 kB / 0.9949 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.1471, allocations: 0.8563 MB / 0.9957 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1471, allocations: 0 / 0.9957 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.1472, allocations: 36 kB / 0.9958 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.1472, allocations: 20 kB / 0.9958 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.1478, allocations: 0.5713 MB / 0.9963 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.1497, allocations: 1.635 MB / 0.9979 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.1502, allocations: 400.3 kB / 0.9983 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1503, allocations: 139.9 kB / 0.9984 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1504, allocations: 28.62 kB / 0.9985 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.1507, allocations: 447 kB / 0.9989 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=87): time 2.565e-06/0.1507, allocations: 0 / 0.9989 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87): time 0.0009869/0.1517, allocations: 0.5654 MB / 0.9994 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.1518, allocations: 200.9 kB / 0.9996 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.1523, allocations: 0.5055 MB / 1 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.1523, allocations: 45.7 kB / 1 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1525, allocations: 330.4 kB / 1 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.1526, allocations: 285.5 kB / 1.001 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1527, allocations: 170.5 kB / 1.001 GB, free: 7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1529, allocations: 394.6 kB / 1.001 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.153, allocations: 88.78 kB / 1.001 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1532, allocations: 315.6 kB / 1.002 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.1535, allocations: 325.2 kB / 1.002 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1535, allocations: 3.938 kB / 1.002 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006274/0.1541, allocations: 470.9 kB / 1.002 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1542, allocations: 10.03 kB / 1.002 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1542, allocations: 0 / 1.002 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.1546, allocations: 120.7 kB / 1.003 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.1549, allocations: 175.7 kB / 1.003 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.156, allocations: 1.318 MB / 1.004 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.1563, allocations: 71.53 kB / 1.004 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.1563, allocations: 31.91 kB / 1.004 GB, free: 3.547 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.0001809/0.1565, allocations: 175.1 kB / 1.004 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.1566, allocations: 75.92 kB / 1.004 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.1574, allocations: 0.6107 MB / 1.005 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1574, allocations: 8 kB / 1.005 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1574, allocations: 0 / 1.005 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1574, allocations: 11.97 kB / 1.005 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.1587, allocations: 1.093 MB / 1.006 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1587, allocations: 0 / 1.006 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.1589, allocations: 139.7 kB / 1.006 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/0.1592, allocations: 104.8 kB / 1.006 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.1593, allocations: 23.98 kB / 1.006 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008164/0.1601, allocations: 1.332 MB / 1.008 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1601, allocations: 0 / 1.008 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.1607, allocations: 0.5672 MB / 1.008 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.1609, allocations: 143.2 kB / 1.008 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.1609, allocations: 20 kB / 1.008 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.1611, allocations: 39.97 kB / 1.008 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.1612, allocations: 68.86 kB / 1.008 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.1612, allocations: 23.98 kB / 1.008 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000187/0.1614, allocations: 247.4 kB / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.1614, allocations: 0 / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005201/0.1619, allocations: 339 kB / 1.009 GB, free: 14.37 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.001461/0.1634, allocations: 0.7549 MB / 1.01 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.164, allocations: 0.5097 MB / 1.01 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.164, allocations: 8 kB / 1.01 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1643, allocations: 363.2 kB / 1.011 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.165, allocations: 310.5 kB / 1.011 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.1668, allocations: 1.465 MB / 1.012 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.1669, allocations: 190.9 kB / 1.013 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003563/0.1673, allocations: 194.7 kB / 1.013 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.1678, allocations: 303 kB / 1.013 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of SimCode: time 7.11e-07/0.1678, allocations: 0 / 1.013 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.01911/0.1869, allocations: 16.76 MB / 1.029 GB, free: 10.04 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 -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.77818661602214]