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.00662/0.00662, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001445/0.001445, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 70.11 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3506, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007293/0.358, allocations: 4.942 MB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.5184, allocations: 148.3 MB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000955/0.5194, allocations: 19.88 kB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008403/0.5203, allocations: 150.8 kB / 1.203 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.5223, allocations: 483.5 kB / 1.203 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.5244, allocations: 0.7361 MB / 1.204 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.5262, allocations: 1.334 MB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.5273, allocations: 0.5828 MB / 1.206 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008792/0.5282, allocations: 438.3 kB / 1.206 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000793/0.529, allocations: 489.7 kB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.5293, allocations: 56 kB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.5303, allocations: 399.6 kB / 1.207 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.5306, allocations: 243 kB / 1.207 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007582/0.5314, allocations: 0.5166 MB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.533, allocations: 1.208 MB / 1.209 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.533, allocations: 4 kB / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.533, allocations: 0 / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.445e-05/0.533, allocations: 3.938 kB / 1.209 GB, free: 7.742 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.003465/0.5365, allocations: 1.462 MB / 1.21 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5366, allocations: 8.031 kB / 1.21 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.5379, allocations: 231.3 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5391, allocations: 0.75 MB / 1.211 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.5392, allocations: 66 kB / 1.211 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5393, allocations: 91.98 kB / 1.211 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.5413, allocations: 0.9794 MB / 1.212 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5413, allocations: 3.938 kB / 1.212 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/0.5414, allocations: 36 kB / 1.212 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.5414, allocations: 24 kB / 1.212 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.5435, allocations: 1.163 MB / 1.214 GB, free: 2.797 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.004789/0.5483, allocations: 3.029 MB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.5501, allocations: 0.9519 MB / 1.217 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.5507, allocations: 310.7 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-05/0.5508, allocations: 36.59 kB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009807/0.5518, allocations: 0.5002 MB / 1.218 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/0.5518, allocations: 4 kB / 1.218 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003252/0.5551, allocations: 1.228 MB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.5552, allocations: 196.9 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.5561, allocations: 0.6293 MB / 1.22 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.5562, allocations: 41.7 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.5565, allocations: 416.2 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.5568, allocations: 268.1 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.557, allocations: 170.5 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5572, allocations: 390.7 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.5578, allocations: 273.9 kB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.5584, allocations: 385.7 kB / 1.222 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.5595, allocations: 0.6501 MB / 1.223 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5596, allocations: 0 / 1.223 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002028/0.5616, allocations: 0.8878 MB / 1.224 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5616, allocations: 4 kB / 1.224 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5616, allocations: 0 / 1.224 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.5623, allocations: 88.92 kB / 1.224 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.563, allocations: 171.7 kB / 1.224 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.5651, allocations: 1.523 MB / 1.225 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008803/0.566, allocations: 99.27 kB / 1.225 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/0.5661, allocations: 35.97 kB / 1.226 GB, free: 6.086 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.0005014/0.5666, allocations: 283.3 kB / 1.226 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5668, allocations: 83.03 kB / 1.226 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.5692, allocations: 1.089 MB / 1.227 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5692, allocations: 15.92 kB / 1.227 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5692, allocations: 0 / 1.227 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.5692, allocations: 3.984 kB / 1.227 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.5728, allocations: 2.09 MB / 1.229 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5728, allocations: 0 / 1.229 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.5734, allocations: 151.8 kB / 1.229 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/0.574, allocations: 84.77 kB / 1.229 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.574, allocations: 23.98 kB / 1.229 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.5759, allocations: 1.555 MB / 1.231 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5759, allocations: 3.938 kB / 1.231 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.578, allocations: 1.012 MB / 1.232 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.5785, allocations: 275.7 kB / 1.232 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5786, allocations: 16 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.5793, allocations: 67.94 kB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.5795, allocations: 72.89 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.5796, allocations: 35.97 kB / 1.232 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006089/0.5802, allocations: 463 kB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5802, allocations: 0 / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009466/0.5812, allocations: 331.2 kB / 1.233 GB, free: 14.2 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.001448/0.5826, allocations: 0.6102 MB / 1.234 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.5844, allocations: 0.855 MB / 1.234 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5844, allocations: 4 kB / 1.234 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.5853, allocations: 0.5197 MB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.5866, allocations: 291.6 kB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.5901, allocations: 2.141 MB / 1.237 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/0.5909, allocations: 1.032 MB / 1.238 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.5913, allocations: 115.4 kB / 1.238 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.5913, allocations: 0 / 1.238 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.5894/1.181, allocations: 18.84 MB / 1.257 GB, free: 186.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches