Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.001301/0.001301, allocations: 80.75 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.001409/0.001409, allocations: 181 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.9643/0.9643, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.495/2.495, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.4e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004626/0.00464, allocations: 4.752 MB / 0.8432 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1357/0.1403, allocations: 146.1 MB / 0.9859 GB, free: 6.82 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005716/0.1409, allocations: 23.81 kB / 0.9859 GB, free: 6.797 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.1413, allocations: 198.1 kB / 0.9861 GB, free: 6.602 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.1425, allocations: 0.5705 MB / 0.9866 GB, free: 6.027 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1437, allocations: 0.8762 MB / 0.9875 GB, free: 5.148 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009606/0.1447, allocations: 1.505 MB / 0.989 GB, free: 3.637 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.1451, allocations: 422 kB / 0.9894 GB, free: 3.195 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.1458, allocations: 0.803 MB / 0.9902 GB, free: 2.391 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.1461, allocations: 394.8 kB / 0.9905 GB, free: 2.004 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-05/0.1462, allocations: 112 kB / 0.9906 GB, free: 1.895 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.1468, allocations: 0.5071 MB / 0.9911 GB, free: 1.387 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1469, allocations: 310.9 kB / 0.9914 GB, free: 1.082 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1472, allocations: 383 kB / 0.9918 GB, free: 0.707 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.1484, allocations: 1.265 MB / 0.993 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1484, allocations: 3.938 kB / 0.993 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1484, allocations: 0 / 0.993 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.1484, allocations: 4 kB / 0.993 GB, free: 15.43 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00129/0.1497, allocations: 1.406 MB / 0.9944 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.1497, allocations: 12.03 kB / 0.9944 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.1506, allocations: 332.2 kB / 0.9947 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.1512, allocations: 0.5978 MB / 0.9953 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.1513, allocations: 78.11 kB / 0.9954 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.1514, allocations: 92 kB / 0.9955 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.1521, allocations: 0.9212 MB / 0.9964 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1521, allocations: 0 / 0.9964 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.1521, allocations: 36 kB / 0.9964 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1521, allocations: 24 kB / 0.9964 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005781/0.1527, allocations: 0.5947 MB / 0.997 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.1546, allocations: 1.933 MB / 0.9989 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.1552, allocations: 445 kB / 0.9993 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1553, allocations: 148.8 kB / 0.9995 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.1554, allocations: 32.92 kB / 0.9995 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006427/0.156, allocations: 463.4 kB / 1 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=91): time 2.053e-06/0.156, allocations: 4 kB / 1 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of matching and sorting (n=91): time 0.0009915/0.157, allocations: 0.5733 MB / 1.001 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.1571, allocations: 200.9 kB / 1.001 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.1574, allocations: 0.5132 MB / 1.001 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.1575, allocations: 49.7 kB / 1.001 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1576, allocations: 350.4 kB / 1.002 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.1578, allocations: 305.3 kB / 1.002 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.1579, allocations: 174.5 kB / 1.002 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.158, allocations: 398.5 kB / 1.002 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1582, allocations: 100.7 kB / 1.003 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1584, allocations: 350.2 kB / 1.003 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1587, allocations: 367.8 kB / 1.003 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1587, allocations: 0 / 1.003 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006375/0.1594, allocations: 495 kB / 1.004 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1594, allocations: 4 kB / 1.004 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1594, allocations: 4 kB / 1.004 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/0.1598, allocations: 124.7 kB / 1.004 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.1602, allocations: 195.7 kB / 1.004 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009218/0.1611, allocations: 1.316 MB / 1.005 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.1613, allocations: 79.48 kB / 1.005 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.1614, allocations: 31.97 kB / 1.005 GB, free: 2.246 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (113): * Single equations (assignments): 112 * 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.0001708/0.1616, allocations: 183.3 kB / 1.006 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.1616, allocations: 79.86 kB / 1.006 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.1624, allocations: 0.6303 MB / 1.006 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1624, allocations: 8 kB / 1.006 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1624, allocations: 0 / 1.006 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1624, allocations: 7.984 kB / 1.006 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1639, allocations: 1.136 MB / 1.007 GB, free: 144 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1639, allocations: 0 / 1.007 GB, free: 144 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.1642, allocations: 159.8 kB / 1.008 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.1645, allocations: 112.6 kB / 1.008 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.1646, allocations: 27.97 kB / 1.008 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007834/0.1653, allocations: 1.321 MB / 1.009 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1653, allocations: 0 / 1.009 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.1659, allocations: 0.579 MB / 1.01 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.1661, allocations: 151.1 kB / 1.01 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.1662, allocations: 24 kB / 1.01 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1664, allocations: 39.95 kB / 1.01 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/0.1665, allocations: 80.8 kB / 1.01 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.1665, allocations: 23.98 kB / 1.01 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000178/0.1667, allocations: 243.4 kB / 1.01 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1667, allocations: 0 / 1.01 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004644/0.1672, allocations: 351.1 kB / 1.01 GB, free: 12.94 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 (102): * Single equations (assignments): 91 * 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.001399/0.1686, allocations: 0.759 MB / 1.011 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005709/0.1691, allocations: 0.5292 MB / 1.012 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1691, allocations: 8 kB / 1.012 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.1695, allocations: 383.3 kB / 1.012 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.17, allocations: 322.8 kB / 1.012 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1718, allocations: 1.528 MB / 1.014 GB, free: 9.645 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1721, allocations: 195.2 kB / 1.014 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003632/0.1725, allocations: 195.2 kB / 1.014 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.173, allocations: 315 kB / 1.014 GB, free: 8.93 MB / 0.9792 GB Notification: Performance of SimCode: time 6.91e-07/0.173, allocations: 4 kB / 1.014 GB, free: 8.926 MB / 0.9792 GB Notification: Performance of Templates: time 0.01898/0.192, allocations: 17.67 MB / 1.032 GB, free: 7.574 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.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.923894536215812]