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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009028, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.57/2.57, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 4 kB / 0.8707 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7252, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005064/0.7303, allocations: 3.721 MB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1658/0.8962, allocations: 127.6 MB / 1.149 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.8976, allocations: 15.88 kB / 1.149 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.8982, allocations: 75.33 kB / 1.149 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.901, allocations: 0.4894 MB / 1.15 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.9042, allocations: 0.6444 MB / 1.15 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002308/0.9065, allocations: 0.8409 MB / 1.151 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.9078, allocations: 0.4915 MB / 1.151 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.9087, allocations: 350.5 kB / 1.152 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006979/0.9094, allocations: 350.2 kB / 1.152 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.9096, allocations: 24 kB / 1.152 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.9109, allocations: 307.6 kB / 1.152 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.9113, allocations: 191.2 kB / 1.153 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.9116, allocations: 197.1 kB / 1.153 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.9138, allocations: 1.165 MB / 1.154 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9139, allocations: 0 / 1.154 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.061e-06/0.9139, allocations: 0 / 1.154 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.9139, allocations: 3.938 kB / 1.154 GB, free: 8.363 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003972/0.9179, allocations: 1.244 MB / 1.155 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.918, allocations: 11.98 kB / 1.155 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.9204, allocations: 254.3 kB / 1.155 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.9225, allocations: 0.7302 MB / 1.156 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.9226, allocations: 62 kB / 1.156 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.9228, allocations: 84 kB / 1.156 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.926, allocations: 0.9755 MB / 1.157 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.9261, allocations: 3.938 kB / 1.157 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.9262, allocations: 39.98 kB / 1.157 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.9263, allocations: 24 kB / 1.157 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/0.9302, allocations: 1.171 MB / 1.158 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008243/0.9385, allocations: 2.865 MB / 1.161 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.9419, allocations: 0.9597 MB / 1.162 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.9421, allocations: 36.59 kB / 1.162 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.9436, allocations: 0.493 MB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=83): time 4.728e-06/0.9437, allocations: 4 kB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=83): time 0.004894/0.9486, allocations: 1.225 MB / 1.164 GB, free: 13.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.9487, allocations: 192.9 kB / 1.164 GB, free: 13.67 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.95, allocations: 0.637 MB / 1.165 GB, free: 13.03 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.9501, allocations: 45.7 kB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/0.9507, allocations: 404.3 kB / 1.165 GB, free: 12.57 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.951, allocations: 272.1 kB / 1.165 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.9511, allocations: 20 kB / 1.165 GB, free: 12.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.9513, allocations: 390.8 kB / 1.166 GB, free: 11.89 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007028/0.9521, allocations: 249.9 kB / 1.166 GB, free: 11.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009559/0.953, allocations: 381.1 kB / 1.166 GB, free: 11.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.9538, allocations: 298.9 kB / 1.167 GB, free: 10.95 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9538, allocations: 0 / 1.167 GB, free: 10.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002227/0.9561, allocations: 0.8369 MB / 1.168 GB, free: 10.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.9561, allocations: 8.188 kB / 1.168 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9561, allocations: 4 kB / 1.168 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/0.9567, allocations: 92.69 kB / 1.168 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.9574, allocations: 159.8 kB / 1.168 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9597, allocations: 1.536 MB / 1.169 GB, free: 8.168 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/0.9606, allocations: 99.39 kB / 1.169 GB, free: 8.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.9607, allocations: 31.98 kB / 1.169 GB, free: 8.039 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0006872/0.9614, allocations: 277.6 kB / 1.17 GB, free: 7.758 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.9617, allocations: 83.3 kB / 1.17 GB, free: 7.676 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.9645, allocations: 1.101 MB / 1.171 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.9645, allocations: 8 kB / 1.171 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9645, allocations: 3.953 kB / 1.171 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.9645, allocations: 3.984 kB / 1.171 GB, free: 6.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/0.9685, allocations: 2.106 MB / 1.173 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.9685, allocations: 0 / 1.173 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.9691, allocations: 151.8 kB / 1.173 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/0.9697, allocations: 84.77 kB / 1.173 GB, free: 4.133 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.9697, allocations: 23.98 kB / 1.173 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.9717, allocations: 1.56 MB / 1.175 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9717, allocations: 3.984 kB / 1.175 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.9738, allocations: 1.015 MB / 1.176 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.9742, allocations: 287.6 kB / 1.176 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.9744, allocations: 24 kB / 1.176 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.9751, allocations: 86.47 kB / 1.176 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.9753, allocations: 76.78 kB / 1.176 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.9754, allocations: 39.97 kB / 1.176 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006225/0.976, allocations: 451 kB / 1.177 GB, free: 424 kB / 0.92 GB Notification: Performance of sort global known variables: time 5.01e-07/0.976, allocations: 4 kB / 1.177 GB, free: 420 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009638/0.977, allocations: 319.2 kB / 1.177 GB, free: 100 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001349/0.9783, allocations: 0.5866 MB / 1.177 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.98, allocations: 0.8199 MB / 1.178 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9801, allocations: 4 kB / 1.178 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.9811, allocations: 0.5236 MB / 1.179 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.9823, allocations: 252.2 kB / 1.179 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.9868, allocations: 2.21 MB / 1.181 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.9875, allocations: 1.051 MB / 1.182 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009003/0.9884, allocations: 270.8 kB / 1.182 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.9888, allocations: 103.4 kB / 1.183 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of SimCode: time 1.212e-06/0.9888, allocations: 0 / 1.183 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of Templates: time 0.02507/1.014, allocations: 14.17 MB / 1.196 GB, free: 12.36 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches