Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001583/0.001584, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001374, allocations: 191.9 kB / 16.25 MB, free: 6.637 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.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001896, allocations: 67.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.646, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007725/0.6538, allocations: 4.945 MB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.8373, allocations: 148.4 MB / 1.167 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007823/0.8381, allocations: 19.88 kB / 1.167 GB, free: 8.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.8388, allocations: 154.8 kB / 1.167 GB, free: 8.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.8407, allocations: 0.5026 MB / 1.167 GB, free: 8.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.8427, allocations: 0.7672 MB / 1.168 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.8444, allocations: 1.409 MB / 1.169 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000965/0.8454, allocations: 0.6066 MB / 1.17 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007037/0.8461, allocations: 0.4943 MB / 1.17 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.8467, allocations: 0.5057 MB / 1.171 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.8469, allocations: 127.9 kB / 1.171 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008579/0.8478, allocations: 467.6 kB / 1.171 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.8481, allocations: 295.1 kB / 1.172 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000595/0.8487, allocations: 0.5713 MB / 1.172 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.8507, allocations: 1.612 MB / 1.174 GB, free: 1.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8507, allocations: 0 / 1.174 GB, free: 1.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8507, allocations: 0 / 1.174 GB, free: 1.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.8507, allocations: 0 / 1.174 GB, free: 1.234 MB / 0.92 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.002799/0.8535, allocations: 1.47 MB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.8536, allocations: 8.031 kB / 1.175 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.8548, allocations: 231.4 kB / 1.176 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.856, allocations: 0.7499 MB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.8561, allocations: 66 kB / 1.176 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8562, allocations: 84 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.8581, allocations: 0.9872 MB / 1.177 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.8581, allocations: 4 kB / 1.177 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.8582, allocations: 36 kB / 1.177 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.8583, allocations: 24 kB / 1.177 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.8604, allocations: 1.159 MB / 1.179 GB, free: 12.28 MB / 0.9356 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.004707/0.8651, allocations: 3.029 MB / 1.182 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.8671, allocations: 0.949 MB / 1.182 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.8677, allocations: 318.6 kB / 1.183 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.888e-05/0.8678, allocations: 32.61 kB / 1.183 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009684/0.8687, allocations: 0.4963 MB / 1.183 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 4.859e-06/0.8688, allocations: 0 / 1.183 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.003493/0.8723, allocations: 1.239 MB / 1.184 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.8724, allocations: 192.9 kB / 1.185 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008943/0.8733, allocations: 0.6371 MB / 1.185 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.8734, allocations: 41.7 kB / 1.185 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.8738, allocations: 420.2 kB / 1.186 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.874, allocations: 264.1 kB / 1.186 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.8743, allocations: 170.4 kB / 1.186 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.8745, allocations: 390.8 kB / 1.187 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.8751, allocations: 273.8 kB / 1.187 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.8759, allocations: 393.6 kB / 1.187 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.8772, allocations: 0.6423 MB / 1.188 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.8772, allocations: 0 / 1.188 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002365/0.8795, allocations: 0.8877 MB / 1.189 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.8796, allocations: 7.984 kB / 1.189 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8796, allocations: 0 / 1.189 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.8802, allocations: 88.95 kB / 1.189 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.881, allocations: 167.8 kB / 1.189 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.8834, allocations: 1.648 MB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.8843, allocations: 95.33 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.8844, allocations: 35.97 kB / 1.191 GB, free: 15.43 MB / 0.9512 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.0005513/0.885, allocations: 279.4 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.8852, allocations: 82.97 kB / 1.191 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.8878, allocations: 1.093 MB / 1.192 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.8878, allocations: 8 kB / 1.192 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.8878, allocations: 0 / 1.192 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.8878, allocations: 3.984 kB / 1.192 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.8917, allocations: 2.086 MB / 1.194 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.8917, allocations: 4 kB / 1.194 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.8923, allocations: 151.8 kB / 1.194 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.8928, allocations: 72.8 kB / 1.194 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.8929, allocations: 31.91 kB / 1.194 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.8951, allocations: 1.654 MB / 1.196 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8952, allocations: 0 / 1.196 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.8974, allocations: 1.019 MB / 1.197 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/0.8979, allocations: 271.7 kB / 1.197 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.898, allocations: 27.98 kB / 1.197 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.8987, allocations: 63.88 kB / 1.197 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.8989, allocations: 80.83 kB / 1.197 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.899, allocations: 31.98 kB / 1.197 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006563/0.8997, allocations: 459 kB / 1.198 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8997, allocations: 3.938 kB / 1.198 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001012/0.9007, allocations: 331.2 kB / 1.198 GB, free: 7.43 MB / 0.9512 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.002032/0.9027, allocations: 0.6051 MB / 1.199 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.9055, allocations: 1.065 MB / 1.2 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9055, allocations: 0 / 1.2 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.9065, allocations: 0.5278 MB / 1.2 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.908, allocations: 317.6 kB / 1.201 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.9114, allocations: 2.118 MB / 1.203 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.9122, allocations: 1.035 MB / 1.204 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009301/0.9131, allocations: 266.9 kB / 1.204 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.9134, allocations: 111.4 kB / 1.204 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.9134, allocations: 0 / 1.204 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of Templates: time 0.02846/0.9419, allocations: 15.62 MB / 1.219 GB, free: 2.07 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches