Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001129/0.001129, 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.009/0.009, allocations: 169.9 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.949/2.949, allocations: 470.6 MB / 0.7441 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003541, allocations: 9.125 kB / 0.9122 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 161.4 MB / 1.07 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006452/0.3574, allocations: 4.519 MB / 1.074 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1925/0.55, allocations: 146.7 MB / 1.218 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.5508, allocations: 19.88 kB / 1.218 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.5514, allocations: 154.8 kB / 1.218 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.553, allocations: 482.3 kB / 1.218 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.5548, allocations: 0.7324 MB / 1.219 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.5564, allocations: 1.326 MB / 1.22 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.5573, allocations: 0.5673 MB / 1.221 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006058/0.5579, allocations: 362.2 kB / 1.221 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.5585, allocations: 409.8 kB / 1.222 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.5586, allocations: 28 kB / 1.222 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.5594, allocations: 363.7 kB / 1.222 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.5596, allocations: 191.1 kB / 1.222 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.5601, allocations: 482.8 kB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.5618, allocations: 1.51 MB / 1.224 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5618, allocations: 4 kB / 1.224 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5618, allocations: 0 / 1.224 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.5618, allocations: 0 / 1.224 GB, free: 12.98 MB / 0.9825 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.002397/0.5642, allocations: 1.244 MB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5642, allocations: 8.031 kB / 1.225 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.5655, allocations: 251.4 kB / 1.225 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.5666, allocations: 0.7461 MB / 1.226 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/0.5667, allocations: 66 kB / 1.226 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5669, allocations: 87.94 kB / 1.226 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.5687, allocations: 0.995 MB / 1.227 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5688, allocations: 0 / 1.227 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5689, allocations: 39.94 kB / 1.227 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.5689, allocations: 24 kB / 1.227 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.5711, allocations: 1.175 MB / 1.229 GB, free: 8.219 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.5759, allocations: 3.085 MB / 1.232 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.578, allocations: 0.971 MB / 1.232 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/0.5786, allocations: 318.7 kB / 1.233 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-05/0.5787, allocations: 24.62 kB / 1.233 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009918/0.5797, allocations: 0.5124 MB / 1.233 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.625e-06/0.5797, allocations: 0 / 1.233 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003472/0.5832, allocations: 1.239 MB / 1.235 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5833, allocations: 196.9 kB / 1.235 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.5842, allocations: 0.6332 MB / 1.235 GB, free: 1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.5843, allocations: 45.7 kB / 1.235 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.5847, allocations: 412.2 kB / 1.236 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.585, allocations: 264.2 kB / 1.236 GB, free: 284 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.5851, allocations: 73.69 kB / 1.236 GB, free: 204 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.5853, allocations: 386.7 kB / 1.236 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.586, allocations: 281.9 kB / 1.237 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.5867, allocations: 393.5 kB / 1.237 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.5879, allocations: 0.658 MB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.5879, allocations: 0 / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002168/0.5901, allocations: 0.8955 MB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5901, allocations: 4 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5902, allocations: 4 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.5908, allocations: 84.95 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.5915, allocations: 179.7 kB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.5939, allocations: 1.518 MB / 1.24 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.5948, allocations: 115.2 kB / 1.24 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.5948, allocations: 35.97 kB / 1.24 GB, free: 11.47 MB / 0.9981 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.0005184/0.5954, allocations: 287.2 kB / 1.241 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.5955, allocations: 82.97 kB / 1.241 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.5982, allocations: 1.089 MB / 1.242 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5982, allocations: 11.94 kB / 1.242 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5982, allocations: 7.984 kB / 1.242 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5982, allocations: 3.984 kB / 1.242 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.6021, allocations: 2.102 MB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6021, allocations: 0 / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.6028, allocations: 151.8 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.6033, allocations: 84.77 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.6034, allocations: 27.98 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.6055, allocations: 1.559 MB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6055, allocations: 3.938 kB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.6077, allocations: 1.012 MB / 1.247 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.6082, allocations: 287.6 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6084, allocations: 20 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.6091, allocations: 91.86 kB / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.6093, allocations: 72.84 kB / 1.247 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.6094, allocations: 39.97 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006498/0.61, allocations: 459 kB / 1.248 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.61, allocations: 0 / 1.248 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009744/0.611, allocations: 335.2 kB / 1.248 GB, free: 3.512 MB / 0.9981 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.002033/0.6131, allocations: 0.6088 MB / 1.249 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.615, allocations: 0.855 MB / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/0.615, allocations: 7.984 kB / 1.249 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.616, allocations: 0.5236 MB / 1.25 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.6176, allocations: 295.1 kB / 1.25 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5242/1.142, allocations: 2.125 MB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/1.142, allocations: 1.033 MB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001081/1.144, allocations: 270.3 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/1.144, allocations: 107.8 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.144, allocations: 0 / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03037/1.174, allocations: 14.96 MB / 1.268 GB, free: 180.2 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches