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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001154/0.001154, allocations: 196.3 kB / 16.14 MB, free: 6.656 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.368/2.368, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6625, allocations: 140.4 MB / 0.9489 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006284/0.6688, allocations: 4.442 MB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.8348, allocations: 148.3 MB / 1.098 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008136/0.8357, allocations: 19.88 kB / 1.098 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.8362, allocations: 142.9 kB / 1.098 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.8379, allocations: 452.2 kB / 1.099 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.8398, allocations: 0.7303 MB / 1.099 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.841, allocations: 1.249 MB / 1.101 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008223/0.8419, allocations: 0.6215 MB / 1.101 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.8424, allocations: 426.2 kB / 1.102 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.8429, allocations: 482.2 kB / 1.102 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.8431, allocations: 56 kB / 1.102 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.8439, allocations: 403.6 kB / 1.102 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.8441, allocations: 239 kB / 1.103 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.8446, allocations: 0.4932 MB / 1.103 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.846, allocations: 1.534 MB / 1.105 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.846, allocations: 4 kB / 1.105 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.41e-07/0.8461, allocations: 0 / 1.105 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.8461, allocations: 0 / 1.105 GB, free: 2.012 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.002468/0.8485, allocations: 1.45 MB / 1.106 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.8486, allocations: 8.031 kB / 1.106 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.8498, allocations: 227.4 kB / 1.106 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.8508, allocations: 0.7538 MB / 1.107 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.8509, allocations: 69.94 kB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.851, allocations: 84 kB / 1.107 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.8527, allocations: 0.9833 MB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.8527, allocations: 4 kB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/0.8528, allocations: 40 kB / 1.108 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.8528, allocations: 20 kB / 1.108 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.8548, allocations: 1.159 MB / 1.109 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.8589, allocations: 2.832 MB / 1.112 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.8607, allocations: 0.9423 MB / 1.113 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.8612, allocations: 306.7 kB / 1.113 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.8613, allocations: 32.59 kB / 1.113 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000927/0.8623, allocations: 0.4964 MB / 1.114 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.325e-06/0.8623, allocations: 0 / 1.114 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.00329/0.8656, allocations: 1.227 MB / 1.115 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.8657, allocations: 192.9 kB / 1.115 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/0.8665, allocations: 0.6332 MB / 1.116 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.8666, allocations: 37.7 kB / 1.116 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.8669, allocations: 416.3 kB / 1.116 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.8672, allocations: 272.1 kB / 1.117 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.8674, allocations: 166.5 kB / 1.117 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.8676, allocations: 390.7 kB / 1.117 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.8681, allocations: 269.9 kB / 1.117 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.8688, allocations: 393.6 kB / 1.118 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.8699, allocations: 0.6345 MB / 1.118 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.87, allocations: 0 / 1.118 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001978/0.8719, allocations: 0.8877 MB / 1.119 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.872, allocations: 4 kB / 1.119 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.872, allocations: 4 kB / 1.119 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.8726, allocations: 80.95 kB / 1.119 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.8733, allocations: 171.7 kB / 1.119 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.8754, allocations: 1.52 MB / 1.121 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.8762, allocations: 103.3 kB / 1.121 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.8762, allocations: 39.97 kB / 1.121 GB, free: 0.6445 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.0005013/0.8767, allocations: 276.6 kB / 1.121 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.8769, allocations: 86.97 kB / 1.121 GB, free: 288 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.8794, allocations: 1.085 MB / 1.122 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.8794, allocations: 15.94 kB / 1.122 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.8794, allocations: 3.938 kB / 1.122 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.8794, allocations: 3.984 kB / 1.122 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.8828, allocations: 2.09 MB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8829, allocations: 0 / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.8835, allocations: 147.8 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005354/0.884, allocations: 84.77 kB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.8841, allocations: 23.98 kB / 1.125 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.886, allocations: 1.548 MB / 1.126 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.886, allocations: 64 / 1.126 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.8882, allocations: 1.019 MB / 1.127 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.8885, allocations: 267.7 kB / 1.128 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.8887, allocations: 24 kB / 1.128 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.8894, allocations: 63.92 kB / 1.128 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.8896, allocations: 76.77 kB / 1.128 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.8896, allocations: 39.98 kB / 1.128 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005972/0.8902, allocations: 459 kB / 1.128 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8902, allocations: 0 / 1.128 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009452/0.8912, allocations: 319.2 kB / 1.128 GB, free: 8.777 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.001503/0.8927, allocations: 0.5995 MB / 1.129 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.8945, allocations: 0.8507 MB / 1.13 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8945, allocations: 4 kB / 1.13 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.8955, allocations: 0.5278 MB / 1.13 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.8968, allocations: 278.2 kB / 1.131 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.9011, allocations: 2.221 MB / 1.133 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.9017, allocations: 1.035 MB / 1.134 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009876/0.9027, allocations: 266.8 kB / 1.134 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.9031, allocations: 107.4 kB / 1.134 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.9031, allocations: 0 / 1.134 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of Templates: time 0.02637/0.9294, allocations: 14.67 MB / 1.149 GB, free: 4.477 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