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.0008613/0.0008612, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009741/0.0009742, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004373, allocations: 8.469 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3553, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006168/0.3615, allocations: 4.26 MB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.548, allocations: 136.9 MB / 1.196 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009922/0.549, allocations: 15.94 kB / 1.196 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.5498, allocations: 138.8 kB / 1.196 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.5519, allocations: 474.3 kB / 1.196 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.5539, allocations: 0.6389 MB / 1.197 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.5556, allocations: 1.241 MB / 1.198 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.5563, allocations: 451.7 kB / 1.199 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.5569, allocations: 354.5 kB / 1.199 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.5574, allocations: 390 kB / 1.199 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.5575, allocations: 28 kB / 1.199 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.5582, allocations: 327.7 kB / 1.2 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.5584, allocations: 187.1 kB / 1.2 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.5586, allocations: 209.1 kB / 1.2 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.5598, allocations: 1.188 MB / 1.201 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5599, allocations: 0 / 1.201 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5599, allocations: 8 kB / 1.201 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.5599, allocations: 0 / 1.201 GB, free: 2.129 MB / 0.9512 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.002199/0.5621, allocations: 1.248 MB / 1.203 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5621, allocations: 8.031 kB / 1.203 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.5633, allocations: 254.3 kB / 1.203 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5643, allocations: 0.7186 MB / 1.203 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.5644, allocations: 66 kB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.5645, allocations: 84 kB / 1.204 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.5661, allocations: 0.9911 MB / 1.205 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5662, allocations: 3.938 kB / 1.205 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.5663, allocations: 36 kB / 1.205 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.5663, allocations: 24 kB / 1.205 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.5682, allocations: 1.175 MB / 1.206 GB, free: 13.39 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.004165/0.5724, allocations: 3.062 MB / 1.209 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.5741, allocations: 0.9538 MB / 1.21 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.5746, allocations: 321.4 kB / 1.21 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-05/0.5747, allocations: 32.72 kB / 1.21 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000877/0.5756, allocations: 0.5118 MB / 1.211 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 3.046e-06/0.5756, allocations: 0 / 1.211 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.003158/0.5788, allocations: 1.239 MB / 1.212 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.5789, allocations: 188.9 kB / 1.212 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/0.5798, allocations: 0.6293 MB / 1.213 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.5799, allocations: 45.69 kB / 1.213 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.5802, allocations: 408.2 kB / 1.213 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.5805, allocations: 268.1 kB / 1.213 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.5805, allocations: 16 kB / 1.213 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5807, allocations: 394.7 kB / 1.214 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.5813, allocations: 273.8 kB / 1.214 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.5819, allocations: 393.7 kB / 1.214 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.5825, allocations: 322.8 kB / 1.215 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5825, allocations: 4 kB / 1.215 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001861/0.5844, allocations: 0.8916 MB / 1.215 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.5844, allocations: 8 kB / 1.215 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5845, allocations: 0 / 1.215 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/0.585, allocations: 76.97 kB / 1.216 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/0.5858, allocations: 175.8 kB / 1.216 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.588, allocations: 1.525 MB / 1.217 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009087/0.589, allocations: 113.2 kB / 1.217 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.5891, allocations: 39.97 kB / 1.217 GB, free: 1.117 MB / 0.9669 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005748/0.5896, allocations: 263.4 kB / 1.218 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.5898, allocations: 86.95 kB / 1.218 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.5922, allocations: 1.112 MB / 1.219 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5922, allocations: 12 kB / 1.219 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5922, allocations: 0 / 1.219 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5922, allocations: 3.984 kB / 1.219 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.5963, allocations: 2.095 MB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.5963, allocations: 4 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.5969, allocations: 151.7 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.5974, allocations: 84.77 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.5975, allocations: 27.92 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.5997, allocations: 1.54 MB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5997, allocations: 3.984 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6019, allocations: 1.019 MB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.6024, allocations: 279.7 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6025, allocations: 23.98 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.6032, allocations: 89.11 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.6034, allocations: 72.89 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/0.6035, allocations: 43.91 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006445/0.6041, allocations: 455 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6041, allocations: 0 / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001003/0.6052, allocations: 331.2 kB / 1.225 GB, free: 9.184 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.6067, allocations: 0.589 MB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.6085, allocations: 0.8507 MB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6085, allocations: 3.984 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008476/0.6093, allocations: 0.528 MB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6105, allocations: 281 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.6136, allocations: 2.081 MB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.6142, allocations: 1.028 MB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008572/0.6151, allocations: 274.8 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.6154, allocations: 107.3 kB / 1.23 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of SimCode: time 4.4e-07/0.6154, allocations: 0 / 1.23 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of Templates: time 0.02418/0.6396, allocations: 14.51 MB / 1.245 GB, free: 5.211 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