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.0008799/0.0008799, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001011/0.001011, allocations: 177 kB / 23.36 MB, free: 1.129 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.8833/0.8833, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.201/2.201, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 178] 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 8.52e-07/8.52e-07, allocations: 0 / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.345e-05, allocations: 16.94 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004408/0.004421, allocations: 4.712 MB / 0.8431 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1204/0.1248, allocations: 146.1 MB / 0.9858 GB, free: 6.898 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/0.1254, allocations: 27.75 kB / 0.9858 GB, free: 6.871 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.1258, allocations: 198.1 kB / 0.986 GB, free: 6.676 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.1269, allocations: 0.594 MB / 0.9866 GB, free: 6.078 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1281, allocations: 0.888 MB / 0.9874 GB, free: 5.188 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1293, allocations: 1.506 MB / 0.9889 GB, free: 3.676 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.1297, allocations: 422 kB / 0.9893 GB, free: 3.234 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.1303, allocations: 0.8029 MB / 0.9901 GB, free: 2.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.1307, allocations: 394.8 kB / 0.9905 GB, free: 2.043 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.1307, allocations: 119.9 kB / 0.9906 GB, free: 1.926 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.1312, allocations: 491.4 kB / 0.9911 GB, free: 1.445 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1314, allocations: 306.9 kB / 0.9914 GB, free: 1.145 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.1316, allocations: 387 kB / 0.9917 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.1326, allocations: 1.265 MB / 0.993 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1326, allocations: 0 / 0.993 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.81e-07/0.1326, allocations: 0 / 0.993 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.1326, allocations: 0 / 0.993 GB, free: 15.49 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.001251/0.1338, allocations: 1.406 MB / 0.9943 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.403e-05/0.1339, allocations: 12.03 kB / 0.9943 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.1346, allocations: 340.2 kB / 0.9947 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.1353, allocations: 0.5978 MB / 0.9953 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.1353, allocations: 78.11 kB / 0.9953 GB, free: 13 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.1356, allocations: 92 kB / 0.9954 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.1363, allocations: 0.9173 MB / 0.9963 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1363, allocations: 0 / 0.9963 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.1363, allocations: 39.98 kB / 0.9964 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1363, allocations: 28 kB / 0.9964 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.1369, allocations: 0.5947 MB / 0.997 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.1388, allocations: 1.922 MB / 0.9988 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.1393, allocations: 456.4 kB / 0.9993 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1394, allocations: 143.8 kB / 0.9994 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.1395, allocations: 36.92 kB / 0.9994 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.1398, allocations: 463.3 kB / 0.9999 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=91): time 1.773e-06/0.1398, allocations: 0 / 0.9999 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=91): time 0.0009382/0.1407, allocations: 0.5772 MB / 1 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1408, allocations: 200.9 kB / 1.001 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.1411, allocations: 0.5172 MB / 1.001 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.1412, allocations: 49.7 kB / 1.001 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1413, allocations: 346.4 kB / 1.002 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1414, allocations: 305.3 kB / 1.002 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1416, allocations: 178.5 kB / 1.002 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000332/0.1419, allocations: 394.5 kB / 1.002 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.142, allocations: 108.8 kB / 1.002 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1423, allocations: 342.1 kB / 1.003 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.1426, allocations: 359.9 kB / 1.003 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1426, allocations: 4 kB / 1.003 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006139/0.1432, allocations: 494.8 kB / 1.004 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1432, allocations: 8 kB / 1.004 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1432, allocations: 192 / 1.004 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.1436, allocations: 124.7 kB / 1.004 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1439, allocations: 179.7 kB / 1.004 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/0.1448, allocations: 1.313 MB / 1.005 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.145, allocations: 83.52 kB / 1.005 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.1451, allocations: 27.98 kB / 1.005 GB, free: 2.32 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.0001722/0.1453, allocations: 179.1 kB / 1.005 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.1453, allocations: 83.86 kB / 1.006 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.1461, allocations: 0.6225 MB / 1.006 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1461, allocations: 12 kB / 1.006 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.1461, allocations: 3.984 kB / 1.006 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.1461, allocations: 7.969 kB / 1.006 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1473, allocations: 1.144 MB / 1.007 GB, free: 212 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1473, allocations: 0 / 1.007 GB, free: 212 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1476, allocations: 139.8 kB / 1.007 GB, free: 72 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.1479, allocations: 116.6 kB / 1.008 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.1479, allocations: 23.98 kB / 1.008 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007357/0.1487, allocations: 1.317 MB / 1.009 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1487, allocations: 0 / 1.009 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/0.1495, allocations: 0.5868 MB / 1.009 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.1497, allocations: 147.1 kB / 1.01 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.1497, allocations: 24 kB / 1.01 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.1499, allocations: 47.75 kB / 1.01 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.15, allocations: 72.8 kB / 1.01 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.15, allocations: 31.91 kB / 1.01 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001707/0.1502, allocations: 247.4 kB / 1.01 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1502, allocations: 0 / 1.01 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000449/0.1507, allocations: 351.1 kB / 1.01 GB, free: 13.02 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.001365/0.152, allocations: 0.7562 MB / 1.011 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005609/0.1526, allocations: 0.5254 MB / 1.012 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1526, allocations: 4 kB / 1.012 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.1529, allocations: 386.9 kB / 1.012 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.1535, allocations: 324.9 kB / 1.012 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1551, allocations: 1.519 MB / 1.014 GB, free: 9.734 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.1553, allocations: 203.2 kB / 1.014 GB, free: 9.516 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003489/0.1556, allocations: 195.2 kB / 1.014 GB, free: 9.32 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.1561, allocations: 315 kB / 1.014 GB, free: 9.012 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/0.1561, allocations: 0 / 1.014 GB, free: 9.012 MB / 0.9792 GB Notification: Performance of Templates: time 0.01871/0.1748, allocations: 17.67 MB / 1.032 GB, free: 7.66 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 -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.542349066119641]