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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007972/0.0007972, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8771/0.8771, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.048e-06/4.048e-06, allocations: 4 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.187e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006231/0.006263, allocations: 4.477 MB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5413/0.5476, allocations: 132.8 MB / 1.134 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007382/0.5483, allocations: 24.22 kB / 1.134 GB, free: 14.92 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.5489, allocations: 203.3 kB / 1.134 GB, free: 14.79 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.5505, allocations: 0.5843 MB / 1.134 GB, free: 14.45 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.5522, allocations: 0.8952 MB / 1.135 GB, free: 13.98 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001724/0.5539, allocations: 1.509 MB / 1.137 GB, free: 13.18 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.5546, allocations: 411.4 kB / 1.137 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.5557, allocations: 0.7675 MB / 1.138 GB, free: 12.59 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.5563, allocations: 428.8 kB / 1.138 GB, free: 12.42 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.5564, allocations: 125.3 kB / 1.138 GB, free: 12.42 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009319/0.5574, allocations: 0.4965 MB / 1.139 GB, free: 12.31 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.5576, allocations: 323.2 kB / 1.139 GB, free: 12.1 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.558, allocations: 410.8 kB / 1.14 GB, free: 11.9 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.5606, allocations: 1.833 MB / 1.141 GB, free: 11.14 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5606, allocations: 0 / 1.141 GB, free: 11.14 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5606, allocations: 1.125 kB / 1.141 GB, free: 11.14 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.643e-05/0.5606, allocations: 0 / 1.141 GB, free: 11.14 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002496/0.5631, allocations: 1.468 MB / 1.143 GB, free: 10.18 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.5632, allocations: 13.75 kB / 1.143 GB, free: 10.18 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.5633, allocations: 141.7 kB / 1.143 GB, free: 10.09 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5644, allocations: 291.8 kB / 1.143 GB, free: 10.01 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5656, allocations: 0.7344 MB / 1.144 GB, free: 9.551 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.5657, allocations: 68.8 kB / 1.144 GB, free: 9.523 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/0.5658, allocations: 97.45 kB / 1.144 GB, free: 9.488 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5672, allocations: 1.251 MB / 1.145 GB, free: 8.711 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5672, allocations: 5 kB / 1.145 GB, free: 8.707 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.5673, allocations: 42.62 kB / 1.145 GB, free: 8.676 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.5673, allocations: 22.19 kB / 1.145 GB, free: 8.676 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.5689, allocations: 1.127 MB / 1.147 GB, free: 8.402 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.5727, allocations: 2.667 MB / 1.149 GB, free: 6.754 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.574, allocations: 0.8625 MB / 1.15 GB, free: 6.434 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/0.5745, allocations: 310.4 kB / 1.15 GB, free: 6.309 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.5745, allocations: 31.19 kB / 1.15 GB, free: 6.301 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.5752, allocations: 0.6159 MB / 1.151 GB, free: 5.961 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 3.426e-06/0.5753, allocations: 0 / 1.151 GB, free: 5.961 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.002426/0.5777, allocations: 1.198 MB / 1.152 GB, free: 5.531 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5778, allocations: 204.4 kB / 1.152 GB, free: 5.305 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5788, allocations: 0.6666 MB / 1.153 GB, free: 5.012 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.5789, allocations: 50 kB / 1.153 GB, free: 4.965 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.5795, allocations: 420 kB / 1.153 GB, free: 4.637 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.5797, allocations: 303.8 kB / 1.154 GB, free: 4.395 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.5799, allocations: 175.6 kB / 1.154 GB, free: 4.309 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5801, allocations: 397.6 kB / 1.154 GB, free: 3.957 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.5806, allocations: 276.3 kB / 1.154 GB, free: 3.863 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.5812, allocations: 0.5368 MB / 1.155 GB, free: 3.48 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.5822, allocations: 0.6589 MB / 1.156 GB, free: 3.156 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5822, allocations: 1.062 kB / 1.156 GB, free: 3.156 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001587/0.5838, allocations: 0.9174 MB / 1.157 GB, free: 2.785 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5838, allocations: 5.406 kB / 1.157 GB, free: 2.785 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5838, allocations: 2.234 kB / 1.157 GB, free: 2.785 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.5841, allocations: 81.5 kB / 1.157 GB, free: 2.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.5846, allocations: 175.8 kB / 1.157 GB, free: 2.746 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.5862, allocations: 1.521 MB / 1.158 GB, free: 1.344 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.5869, allocations: 99.3 kB / 1.158 GB, free: 1.293 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.5869, allocations: 35.62 kB / 1.158 GB, free: 1.285 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (105): * Single equations (assignments): 104 * 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.0005761/0.5875, allocations: 285.4 kB / 1.159 GB, free: 1.07 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.5877, allocations: 94.25 kB / 1.159 GB, free: 1.02 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.5895, allocations: 1.11 MB / 1.16 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.5895, allocations: 10.25 kB / 1.16 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5895, allocations: 1.156 kB / 1.16 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.5895, allocations: 13.38 kB / 1.16 GB, free: 0.582 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.5927, allocations: 2.064 MB / 1.162 GB, free: 15.58 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.5928, allocations: 3.094 kB / 1.162 GB, free: 15.58 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.5931, allocations: 154.3 kB / 1.162 GB, free: 15.56 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/0.5934, allocations: 78.03 kB / 1.162 GB, free: 15.54 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.5934, allocations: 25.72 kB / 1.162 GB, free: 15.53 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.5947, allocations: 1.555 MB / 1.164 GB, free: 14.11 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5947, allocations: 1.469 kB / 1.164 GB, free: 14.11 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.5962, allocations: 1.057 MB / 1.165 GB, free: 13.62 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.5966, allocations: 210.2 kB / 1.165 GB, free: 13.51 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.5967, allocations: 24.83 kB / 1.165 GB, free: 13.49 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.597, allocations: 67.67 kB / 1.165 GB, free: 13.48 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.5972, allocations: 79.41 kB / 1.165 GB, free: 13.46 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.5972, allocations: 37.44 kB / 1.165 GB, free: 13.46 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006099/0.5979, allocations: 476.8 kB / 1.166 GB, free: 13.25 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.5979, allocations: 0 / 1.166 GB, free: 13.25 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009128/0.5988, allocations: 337.7 kB / 1.166 GB, free: 13.16 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002804/0.6016, allocations: 2.157 MB / 1.168 GB, free: 11.99 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.6031, allocations: 0.8419 MB / 1.169 GB, free: 11.64 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6031, allocations: 0 / 1.169 GB, free: 11.64 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.6038, allocations: 0.5108 MB / 1.169 GB, free: 11.39 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6048, allocations: 324.6 kB / 1.17 GB, free: 11.29 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/0.614, allocations: 6.699 MB / 1.176 GB, free: 7.844 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.6145, allocations: 454.9 kB / 1.177 GB, free: 7.707 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.000826/0.6153, allocations: 284.1 kB / 1.177 GB, free: 7.621 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.6158, allocations: 400.3 kB / 1.177 GB, free: 7.352 MB / 1.026 GB Notification: Performance of SimCode: time 1.303e-06/0.6158, allocations: 0 / 1.177 GB, free: 7.352 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.6549, allocations: 25.06 MB / 1.202 GB, free: 13.04 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.872, allocations: 9.875 kB / 1.202 GB, free: 13.04 MB / 1.042 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.948448498733342]