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.001407/0.001407, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.541/2.541, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6367, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006528/0.6433, allocations: 4.937 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.8085, allocations: 150.6 MB / 1.169 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.8097, allocations: 15.94 kB / 1.169 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006793/0.8105, allocations: 198.1 kB / 1.169 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.8123, allocations: 0.5584 MB / 1.17 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.8143, allocations: 0.8458 MB / 1.171 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.8159, allocations: 1.412 MB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009012/0.8168, allocations: 0.6028 MB / 1.173 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00068/0.8175, allocations: 0.4943 MB / 1.173 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.818, allocations: 0.5134 MB / 1.174 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.8182, allocations: 120 kB / 1.174 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009043/0.8191, allocations: 459.6 kB / 1.174 GB, free: 1.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.8194, allocations: 299.1 kB / 1.175 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.8199, allocations: 0.5674 MB / 1.175 GB, free: 232 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.8216, allocations: 1.632 MB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8216, allocations: 0 / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8216, allocations: 0 / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.8216, allocations: 0 / 1.177 GB, free: 14.59 MB / 0.9356 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.002453/0.8241, allocations: 1.45 MB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8241, allocations: 8.031 kB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.8254, allocations: 227.4 kB / 1.178 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.8264, allocations: 0.7538 MB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.8265, allocations: 70 kB / 1.179 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.8266, allocations: 87.98 kB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.8282, allocations: 0.9794 MB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.8283, allocations: 4 kB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.8284, allocations: 36 kB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.8284, allocations: 20 kB / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.8304, allocations: 1.171 MB / 1.181 GB, free: 9.648 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.004276/0.8346, allocations: 3.029 MB / 1.184 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.8366, allocations: 0.9494 MB / 1.185 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.8372, allocations: 310.7 kB / 1.186 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.8373, allocations: 32.61 kB / 1.186 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009027/0.8382, allocations: 0.5118 MB / 1.186 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/0.8382, allocations: 0 / 1.186 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.003386/0.8416, allocations: 1.231 MB / 1.187 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.8417, allocations: 196.9 kB / 1.187 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.8426, allocations: 0.6293 MB / 1.188 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.8426, allocations: 41.7 kB / 1.188 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.843, allocations: 412.2 kB / 1.189 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.8432, allocations: 268.1 kB / 1.189 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.8435, allocations: 182.4 kB / 1.189 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8437, allocations: 386.8 kB / 1.189 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.8442, allocations: 269.9 kB / 1.19 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.8449, allocations: 389.7 kB / 1.19 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.8461, allocations: 0.6541 MB / 1.191 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8461, allocations: 0 / 1.191 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002007/0.8481, allocations: 0.8799 MB / 1.191 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.8481, allocations: 11.94 kB / 1.191 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8481, allocations: 0 / 1.191 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.8488, allocations: 84.95 kB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.8494, allocations: 167.8 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.8516, allocations: 1.64 MB / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.8524, allocations: 99.41 kB / 1.193 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.8525, allocations: 35.98 kB / 1.193 GB, free: 12.8 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.0004582/0.8529, allocations: 268.1 kB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.8531, allocations: 83.16 kB / 1.194 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.8555, allocations: 1.097 MB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8556, allocations: 8 kB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.8556, allocations: 0 / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.8556, allocations: 7.984 kB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.8591, allocations: 2.098 MB / 1.197 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8591, allocations: 0 / 1.197 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.8598, allocations: 159.7 kB / 1.197 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.8602, allocations: 68.8 kB / 1.197 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.8603, allocations: 27.97 kB / 1.197 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.8623, allocations: 1.658 MB / 1.199 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8623, allocations: 0 / 1.199 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.8645, allocations: 1.015 MB / 1.2 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.8649, allocations: 275.7 kB / 1.2 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.865, allocations: 23.98 kB / 1.2 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006642/0.8657, allocations: 63.94 kB / 1.2 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.8658, allocations: 80.77 kB / 1.2 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.8659, allocations: 35.98 kB / 1.2 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005486/0.8665, allocations: 455 kB / 1.201 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8665, allocations: 4 kB / 1.201 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009058/0.8674, allocations: 327.2 kB / 1.201 GB, free: 4.805 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.001342/0.8687, allocations: 0.6044 MB / 1.202 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.8712, allocations: 1.066 MB / 1.203 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.8712, allocations: 7.984 kB / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.8722, allocations: 0.5197 MB / 1.203 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.8735, allocations: 316.6 kB / 1.203 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.8763, allocations: 1.685 MB / 1.205 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.8769, allocations: 1.043 MB / 1.206 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008236/0.8778, allocations: 274.8 kB / 1.206 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.878, allocations: 107.4 kB / 1.206 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of SimCode: time 5.42e-07/0.878, allocations: 0 / 1.206 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.02708/0.9051, allocations: 15.73 MB / 1.222 GB, free: 15.75 MB / 0.9825 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=480 -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