Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.0009637/0.0009636, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006685/0.006685, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003572, allocations: 15.92 kB / 0.8159 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.66, allocations: 142.4 MB / 0.955 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004017/0.664, allocations: 4.017 MB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.8246, allocations: 146.7 MB / 1.102 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009446/0.8256, allocations: 19.81 kB / 1.102 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.8263, allocations: 142.9 kB / 1.102 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.8279, allocations: 434.2 kB / 1.103 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.8299, allocations: 0.7461 MB / 1.103 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.8314, allocations: 1.241 MB / 1.105 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000898/0.8323, allocations: 0.606 MB / 1.105 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.8329, allocations: 362.2 kB / 1.106 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.8333, allocations: 385.8 kB / 1.106 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.8334, allocations: 24 kB / 1.106 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000801/0.8342, allocations: 371.6 kB / 1.106 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.8344, allocations: 187.1 kB / 1.107 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.8349, allocations: 470.8 kB / 1.107 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.8364, allocations: 1.483 MB / 1.108 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8365, allocations: 0 / 1.108 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8365, allocations: 0 / 1.108 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.8365, allocations: 4 kB / 1.108 GB, free: 1.781 MB / 0.8575 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.002279/0.8388, allocations: 1.228 MB / 1.11 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8388, allocations: 16.03 kB / 1.11 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.8401, allocations: 247.3 kB / 1.11 GB, free: 252 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.8413, allocations: 0.7538 MB / 1.111 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.8414, allocations: 65.98 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.8415, allocations: 87.98 kB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.8432, allocations: 0.9873 MB / 1.112 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.8433, allocations: 3.938 kB / 1.112 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.8434, allocations: 40 kB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.8434, allocations: 20 kB / 1.112 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.8454, allocations: 1.182 MB / 1.113 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.8498, allocations: 2.853 MB / 1.116 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.8517, allocations: 0.9603 MB / 1.117 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.8523, allocations: 310.7 kB / 1.117 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.8524, allocations: 32.61 kB / 1.117 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009473/0.8533, allocations: 0.5079 MB / 1.118 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.785e-06/0.8534, allocations: 0 / 1.118 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003257/0.8566, allocations: 1.239 MB / 1.119 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.8567, allocations: 196.9 kB / 1.119 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.8576, allocations: 0.637 MB / 1.12 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.8577, allocations: 45.7 kB / 1.12 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.858, allocations: 416.2 kB / 1.12 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.8583, allocations: 260.2 kB / 1.12 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.8584, allocations: 73.69 kB / 1.12 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.8586, allocations: 382.8 kB / 1.121 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.8591, allocations: 281.8 kB / 1.121 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.8598, allocations: 389.7 kB / 1.121 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.861, allocations: 0.654 MB / 1.122 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8611, allocations: 4 kB / 1.122 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00203/0.8631, allocations: 0.8915 MB / 1.123 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8631, allocations: 4 kB / 1.123 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8631, allocations: 4.188 kB / 1.123 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.8637, allocations: 80.78 kB / 1.123 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.8645, allocations: 187.8 kB / 1.123 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.8667, allocations: 1.508 MB / 1.125 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/0.8676, allocations: 116.7 kB / 1.125 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.8677, allocations: 35.98 kB / 1.125 GB, free: 0.5664 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (100): * Single equations (assignments): 99 * 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.0005671/0.8683, allocations: 279.3 kB / 1.125 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.8684, allocations: 86.91 kB / 1.125 GB, free: 204 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.8709, allocations: 1.097 MB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.8709, allocations: 11.94 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8709, allocations: 4 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.8709, allocations: 3.984 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.8745, allocations: 2.11 MB / 1.128 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8745, allocations: 0 / 1.128 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.8751, allocations: 147.8 kB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.8756, allocations: 84.78 kB / 1.128 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.8757, allocations: 27.97 kB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.8775, allocations: 1.551 MB / 1.13 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8776, allocations: 3.938 kB / 1.13 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.8797, allocations: 1.019 MB / 1.131 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.8801, allocations: 283.6 kB / 1.131 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.8802, allocations: 20.14 kB / 1.131 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.8809, allocations: 84.86 kB / 1.131 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.8811, allocations: 80.88 kB / 1.131 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.8812, allocations: 31.98 kB / 1.131 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005791/0.8818, allocations: 459 kB / 1.132 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8818, allocations: 0 / 1.132 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000895/0.8827, allocations: 323.2 kB / 1.132 GB, free: 8.625 MB / 0.8887 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 (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.001354/0.884, allocations: 0.6015 MB / 1.133 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.8858, allocations: 0.8666 MB / 1.134 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8858, allocations: 0 / 1.134 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.8867, allocations: 0.5237 MB / 1.134 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.8881, allocations: 282.8 kB / 1.134 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.8926, allocations: 2.277 MB / 1.137 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.8932, allocations: 1.028 MB / 1.138 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009399/0.8942, allocations: 274.8 kB / 1.138 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.8944, allocations: 107.3 kB / 1.138 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of SimCode: time 8.31e-07/0.8944, allocations: 0 / 1.138 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of Templates: time 0.02539/0.9198, allocations: 14.59 MB / 1.152 GB, free: 4.348 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches