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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001645/0.001645, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002137/0.002136, allocations: 193.1 kB / 16.13 MB, free: 6.648 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.66 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2961, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006356/0.3025, allocations: 4.938 MB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1466/0.4492, allocations: 148.3 MB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007808/0.45, allocations: 19.88 kB / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.4507, allocations: 154.8 kB / 1.202 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.4527, allocations: 473.2 kB / 1.202 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.4548, allocations: 0.7314 MB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.4564, allocations: 1.338 MB / 1.204 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009764/0.4574, allocations: 0.579 MB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000786/0.4582, allocations: 434.2 kB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.4589, allocations: 493.7 kB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.4591, allocations: 60 kB / 1.206 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.4599, allocations: 395.6 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.4602, allocations: 247 kB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005512/0.4608, allocations: 0.5089 MB / 1.207 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.4624, allocations: 1.562 MB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4624, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4624, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.814e-05/0.4625, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 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.00281/0.4653, allocations: 1.454 MB / 1.21 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4653, allocations: 16.03 kB / 1.21 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.4666, allocations: 239.2 kB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4677, allocations: 0.746 MB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.4678, allocations: 66 kB / 1.211 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4679, allocations: 80 kB / 1.211 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.4705, allocations: 0.9833 MB / 1.212 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.4706, allocations: 0 / 1.212 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.4707, allocations: 43.98 kB / 1.212 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.4708, allocations: 24 kB / 1.212 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.4739, allocations: 1.167 MB / 1.213 GB, free: 3.074 MB / 0.9669 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.006773/0.4807, allocations: 3.021 MB / 1.216 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.4836, allocations: 0.9537 MB / 1.217 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008721/0.4845, allocations: 312.3 kB / 1.217 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.4846, allocations: 28.61 kB / 1.217 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.486, allocations: 0.5119 MB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 4.989e-06/0.486, allocations: 0 / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.004961/0.491, allocations: 1.239 MB / 1.219 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.4911, allocations: 192.9 kB / 1.219 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4923, allocations: 0.6293 MB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.4924, allocations: 37.7 kB / 1.22 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.4929, allocations: 412.2 kB / 1.22 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.4932, allocations: 276.1 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.4936, allocations: 174.5 kB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.4938, allocations: 382.8 kB / 1.221 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008593/0.4947, allocations: 277.8 kB / 1.221 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.4957, allocations: 393.7 kB / 1.222 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.4975, allocations: 0.6384 MB / 1.222 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4975, allocations: 4 kB / 1.222 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003088/0.5006, allocations: 0.8838 MB / 1.223 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.5007, allocations: 11.94 kB / 1.223 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5007, allocations: 0 / 1.223 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008751/0.5016, allocations: 84.95 kB / 1.223 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.5027, allocations: 167.8 kB / 1.224 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.5055, allocations: 1.521 MB / 1.225 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5066, allocations: 101.9 kB / 1.225 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.5067, allocations: 48.03 kB / 1.225 GB, free: 6.348 MB / 0.9825 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.0006529/0.5074, allocations: 272.8 kB / 1.225 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.5077, allocations: 82.97 kB / 1.226 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.5115, allocations: 1.089 MB / 1.227 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.5115, allocations: 11.94 kB / 1.227 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5116, allocations: 0 / 1.227 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.5116, allocations: 3.984 kB / 1.227 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.5167, allocations: 2.094 MB / 1.229 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5168, allocations: 8 kB / 1.229 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.5177, allocations: 147.7 kB / 1.229 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/0.5185, allocations: 80.78 kB / 1.229 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.5186, allocations: 31.91 kB / 1.229 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.5211, allocations: 1.548 MB / 1.23 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5212, allocations: 0 / 1.23 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.5241, allocations: 1.019 MB / 1.231 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.5247, allocations: 271.7 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.5249, allocations: 23.94 kB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.5259, allocations: 63.92 kB / 1.232 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.5261, allocations: 72.89 kB / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5262, allocations: 35.98 kB / 1.232 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008677/0.5271, allocations: 459 kB / 1.232 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5271, allocations: 0 / 1.232 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009602/0.5281, allocations: 335.2 kB / 1.233 GB, free: 14.46 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.00131/0.5294, allocations: 0.6056 MB / 1.233 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.5311, allocations: 0.8507 MB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5312, allocations: 0 / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009261/0.5321, allocations: 0.5318 MB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.5334, allocations: 293.1 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.5367, allocations: 2.1 MB / 1.237 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.5373, allocations: 1.028 MB / 1.238 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000928/0.5382, allocations: 266.8 kB / 1.238 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.5385, allocations: 107.4 kB / 1.238 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.5385, allocations: 4 kB / 1.238 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of Templates: time 0.4964/1.035, allocations: 15.06 MB / 1.253 GB, free: 191.6 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches