Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 179.5 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 82.48 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.429e-05/1.431e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.243, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.838/7.081, allocations: 2.19 GB / 3.075 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/7.082, allocations: 86.83 kB / 3.075 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1149/7.197, allocations: 56.01 MB / 3.13 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.036e-06/7.197, allocations: 3.938 kB / 3.13 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.797e-05/7.197, allocations: 27.94 kB / 3.13 GB, free: 126 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.00163/7.198, allocations: 1.043 MB / 3.131 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/7.198, allocations: 12.03 kB / 3.131 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/7.199, allocations: 238.5 kB / 3.131 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/7.2, allocations: 0.6191 MB / 3.132 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/7.2, allocations: 31.98 kB / 3.132 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/7.2, allocations: 44 kB / 3.132 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001254/7.202, allocations: 0.9913 MB / 3.133 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/7.203, allocations: 0.7492 MB / 3.134 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/7.203, allocations: 7.984 kB / 3.134 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/7.203, allocations: 3.953 kB / 3.134 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/7.203, allocations: 20 kB / 3.134 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/7.206, allocations: 2.525 MB / 3.136 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/7.207, allocations: 0.7599 MB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/7.207, allocations: 248.2 kB / 3.137 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/7.207, allocations: 32.81 kB / 3.137 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/7.208, allocations: 383.8 kB / 3.137 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/7.208, allocations: 0 / 3.137 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001367/7.209, allocations: 0.6524 MB / 3.138 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/7.209, allocations: 244.1 kB / 3.138 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/7.21, allocations: 0.4944 MB / 3.139 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/7.21, allocations: 29.7 kB / 3.139 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/7.21, allocations: 380.1 kB / 3.139 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/7.21, allocations: 236.5 kB / 3.139 GB, free: 116 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/7.21, allocations: 4 kB / 3.139 GB, free: 116 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001055/7.21, allocations: 374.8 kB / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/7.21, allocations: 185.5 kB / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/7.211, allocations: 322 kB / 3.14 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/7.211, allocations: 232.5 kB / 3.14 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/7.211, allocations: 0 / 3.14 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001171/7.212, allocations: 0.6641 MB / 3.141 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/7.212, allocations: 4 kB / 3.141 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/7.212, allocations: 3.938 kB / 3.141 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/7.213, allocations: 88.92 kB / 3.141 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/7.213, allocations: 143.8 kB / 3.141 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/7.215, allocations: 1.453 MB / 3.143 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/7.215, allocations: 75.41 kB / 3.143 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/7.215, allocations: 31.97 kB / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000142/7.216, allocations: 120.8 kB / 3.143 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/7.216, allocations: 75.16 kB / 3.143 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/7.217, allocations: 0.8916 MB / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/7.217, allocations: 8 kB / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/7.217, allocations: 0 / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/7.217, allocations: 3.984 kB / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/7.22, allocations: 1.761 MB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/7.22, allocations: 0 / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/7.22, allocations: 151.8 kB / 3.146 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/7.221, allocations: 84.72 kB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/7.221, allocations: 11.98 kB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/7.222, allocations: 1.477 MB / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/7.222, allocations: 0 / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/7.223, allocations: 0.8144 MB / 3.148 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/7.224, allocations: 275.8 kB / 3.148 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/7.224, allocations: 4 kB / 3.148 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/7.224, allocations: 51.95 kB / 3.148 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/7.224, allocations: 64.62 kB / 3.148 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/7.224, allocations: 31.98 kB / 3.148 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003885/7.225, allocations: 410.9 kB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.225, allocations: 0 / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009714/7.226, allocations: 311 kB / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/7.227, allocations: 1.04 MB / 3.15 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001035/7.229, allocations: 0.6472 MB / 3.151 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/7.229, allocations: 4.312 kB / 3.151 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000579/7.229, allocations: 444.6 kB / 3.151 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/7.23, allocations: 229.4 kB / 3.151 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/7.233, allocations: 1.285 MB / 3.153 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/7.233, allocations: 1.023 MB / 3.154 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007574/7.234, allocations: 257.9 kB / 3.154 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/7.234, allocations: 99.33 kB / 3.154 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/7.234, allocations: 0 / 3.154 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02239/7.257, allocations: 15.59 MB / 3.169 GB, free: 84.93 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches