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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001561/0.001561, allocations: 115.2 kB / 16.37 MB, free: 5.539 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.00185/0.00185, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 60.47 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2778, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006439/0.2842, allocations: 4.959 MB / 1.024 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6239/0.9082, allocations: 150.6 MB / 1.171 GB, free: 116 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009659/0.9092, allocations: 19.97 kB / 1.171 GB, free: 108 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.9098, allocations: 189.8 kB / 1.171 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.9115, allocations: 0.5553 MB / 1.171 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.9134, allocations: 0.8526 MB / 1.172 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.915, allocations: 1.43 MB / 1.174 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009083/0.9159, allocations: 0.5947 MB / 1.174 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.9166, allocations: 0.4988 MB / 1.175 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.9172, allocations: 0.5088 MB / 1.175 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.9174, allocations: 117.2 kB / 1.175 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.9185, allocations: 493.3 kB / 1.176 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.9187, allocations: 298.8 kB / 1.176 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.9193, allocations: 0.5722 MB / 1.177 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.9211, allocations: 1.652 MB / 1.178 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9212, allocations: 1.031 kB / 1.178 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.183e-06/0.9212, allocations: 0 / 1.178 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.9212, allocations: 4 kB / 1.178 GB, free: 11.79 MB / 0.8887 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.002491/0.9237, allocations: 1.46 MB / 1.18 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.9237, allocations: 9.625 kB / 1.18 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.9249, allocations: 229.6 kB / 1.18 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.9262, allocations: 0.7726 MB / 1.181 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.9262, allocations: 66.69 kB / 1.181 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.9264, allocations: 83.53 kB / 1.181 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.928, allocations: 0.9842 MB / 1.182 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.928, allocations: 1.438 kB / 1.182 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.9281, allocations: 40.67 kB / 1.182 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.9282, allocations: 25.12 kB / 1.182 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.9301, allocations: 1.163 MB / 1.183 GB, free: 8.609 MB / 0.8887 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.004297/0.9344, allocations: 2.996 MB / 1.186 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.9362, allocations: 0.948 MB / 1.187 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.9367, allocations: 308.4 kB / 1.187 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.848e-05/0.9368, allocations: 39.72 kB / 1.187 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008877/0.9377, allocations: 0.5006 MB / 1.188 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=83): time 2.895e-06/0.9377, allocations: 4 kB / 1.188 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of matching and sorting (n=83): time 0.003124/0.9409, allocations: 1.226 MB / 1.189 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.941, allocations: 194.4 kB / 1.189 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.9417, allocations: 0.6332 MB / 1.19 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.9418, allocations: 46.62 kB / 1.19 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.9421, allocations: 410.4 kB / 1.19 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.9423, allocations: 263.5 kB / 1.19 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.9426, allocations: 176.5 kB / 1.191 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9427, allocations: 385.6 kB / 1.191 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.9432, allocations: 283.4 kB / 1.191 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.9438, allocations: 383.4 kB / 1.192 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.9449, allocations: 0.6494 MB / 1.192 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9449, allocations: 0 / 1.192 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00186/0.9468, allocations: 0.8913 MB / 1.193 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.9468, allocations: 7.594 kB / 1.193 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.9468, allocations: 2.969 kB / 1.193 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.9474, allocations: 85.11 kB / 1.193 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.9481, allocations: 172.3 kB / 1.193 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.9502, allocations: 1.63 MB / 1.195 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.951, allocations: 106.3 kB / 1.195 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.9511, allocations: 39.88 kB / 1.195 GB, free: 15.77 MB / 0.9044 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.000431/0.9515, allocations: 268.4 kB / 1.195 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.9516, allocations: 83.5 kB / 1.195 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.954, allocations: 1.093 MB / 1.196 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.954, allocations: 10.06 kB / 1.196 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.954, allocations: 0 / 1.196 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.954, allocations: 3.984 kB / 1.196 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.9575, allocations: 2.095 MB / 1.198 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.9575, allocations: 3.938 kB / 1.199 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.9581, allocations: 152.8 kB / 1.199 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.9585, allocations: 74.75 kB / 1.199 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.9586, allocations: 27.73 kB / 1.199 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.9604, allocations: 1.649 MB / 1.2 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.9604, allocations: 3.984 kB / 1.2 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.9623, allocations: 1.016 MB / 1.201 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.9627, allocations: 275.2 kB / 1.202 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.9628, allocations: 23.25 kB / 1.202 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.9635, allocations: 59.55 kB / 1.202 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.9636, allocations: 73.55 kB / 1.202 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.9637, allocations: 37.16 kB / 1.202 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005601/0.9643, allocations: 460.7 kB / 1.202 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9643, allocations: 3.75 kB / 1.202 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008821/0.9652, allocations: 341.2 kB / 1.203 GB, free: 10.51 MB / 0.9044 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.001262/0.9664, allocations: 0.6045 MB / 1.203 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.968, allocations: 0.8577 MB / 1.204 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.968, allocations: 1.812 kB / 1.204 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008589/0.9689, allocations: 0.5261 MB / 1.205 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.9701, allocations: 322.2 kB / 1.205 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.9727, allocations: 1.666 MB / 1.206 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.9733, allocations: 1.027 MB / 1.207 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007363/0.974, allocations: 270.9 kB / 1.208 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.9743, allocations: 119.3 kB / 1.208 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.9743, allocations: 0 / 1.208 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of Templates: time 0.02435/0.9987, allocations: 15.71 MB / 1.223 GB, free: 6.973 MB / 0.92 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches