Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001987/0.001987, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002528/0.002528, allocations: 217.9 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.032/3.032, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 62.78 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3453, allocations: 176.1 MB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007342/0.3526, allocations: 4.487 MB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.521, allocations: 132.7 MB / 1.46 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.5217, allocations: 19.81 kB / 1.46 GB, free: 7.812 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.5224, allocations: 210.1 kB / 1.46 GB, free: 7.605 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.5241, allocations: 0.5649 MB / 1.461 GB, free: 7.039 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.5261, allocations: 0.8861 MB / 1.461 GB, free: 6.16 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.5277, allocations: 1.451 MB / 1.463 GB, free: 4.703 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.5285, allocations: 430.1 kB / 1.463 GB, free: 4.258 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.5292, allocations: 0.5217 MB / 1.464 GB, free: 3.734 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.5299, allocations: 0.5212 MB / 1.464 GB, free: 3.211 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.5301, allocations: 123.9 kB / 1.464 GB, free: 3.09 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.5311, allocations: 0.5035 MB / 1.465 GB, free: 2.586 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.5314, allocations: 311 kB / 1.465 GB, free: 2.281 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.5319, allocations: 477.7 kB / 1.466 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.5342, allocations: 1.716 MB / 1.467 GB, free: 92 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5342, allocations: 0 / 1.467 GB, free: 92 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5342, allocations: 0 / 1.467 GB, free: 92 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.5342, allocations: 0 / 1.467 GB, free: 92 kB / 1.154 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.002849/0.537, allocations: 1.459 MB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5371, allocations: 12.03 kB / 1.469 GB, free: 14.58 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.5373, allocations: 143.6 kB / 1.469 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.5392, allocations: 275.9 kB / 1.469 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.5406, allocations: 0.7258 MB / 1.47 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.5407, allocations: 66 kB / 1.47 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.5408, allocations: 84 kB / 1.47 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.5428, allocations: 1.242 MB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.5428, allocations: 0 / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.5429, allocations: 40 kB / 1.471 GB, free: 11.87 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.5429, allocations: 20 kB / 1.471 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.545, allocations: 1.124 MB / 1.472 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.5494, allocations: 2.529 MB / 1.475 GB, free: 8.113 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.5512, allocations: 0.8276 MB / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.5517, allocations: 286.6 kB / 1.476 GB, free: 6.996 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/0.5518, allocations: 24.64 kB / 1.476 GB, free: 6.973 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009749/0.5528, allocations: 0.6007 MB / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.665e-06/0.5528, allocations: 0 / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003369/0.5561, allocations: 1.162 MB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.5563, allocations: 192.9 kB / 1.478 GB, free: 4.93 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.5572, allocations: 0.6606 MB / 1.479 GB, free: 4.262 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.5573, allocations: 45.69 kB / 1.479 GB, free: 4.211 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.5577, allocations: 428.9 kB / 1.479 GB, free: 3.785 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.5579, allocations: 281.6 kB / 1.479 GB, free: 3.508 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.5582, allocations: 150.6 kB / 1.479 GB, free: 3.355 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.5584, allocations: 390.7 kB / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.5589, allocations: 257.9 kB / 1.48 GB, free: 2.711 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007211/0.5596, allocations: 0.5054 MB / 1.48 GB, free: 2.141 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.5607, allocations: 0.6189 MB / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5607, allocations: 0 / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002037/0.5628, allocations: 0.8451 MB / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5628, allocations: 9.719 kB / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5628, allocations: 0 / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.5634, allocations: 84.95 kB / 1.482 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.5641, allocations: 163.7 kB / 1.482 GB, free: 400 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.5663, allocations: 1.526 MB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.5671, allocations: 95.53 kB / 1.484 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.5671, allocations: 31.98 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (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 (92): * Single equations (assignments): 91 * 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.0004476/0.5676, allocations: 261.9 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.5678, allocations: 91.44 kB / 1.484 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.5702, allocations: 1.093 MB / 1.485 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5702, allocations: 8 kB / 1.485 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.5702, allocations: 0 / 1.485 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5702, allocations: 3.984 kB / 1.485 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.5739, allocations: 1.919 MB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.5739, allocations: 0 / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.5745, allocations: 159.7 kB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.575, allocations: 68.8 kB / 1.487 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.5751, allocations: 27.97 kB / 1.487 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.577, allocations: 1.547 MB / 1.489 GB, free: 9.25 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.577, allocations: 0 / 1.489 GB, free: 9.25 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.5792, allocations: 1.026 MB / 1.49 GB, free: 8.207 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.5797, allocations: 207 kB / 1.49 GB, free: 8.004 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5798, allocations: 20 kB / 1.49 GB, free: 7.984 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.5805, allocations: 67.92 kB / 1.49 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.5807, allocations: 76.8 kB / 1.49 GB, free: 7.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.5808, allocations: 35.98 kB / 1.49 GB, free: 7.805 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006278/0.5814, allocations: 479 kB / 1.491 GB, free: 7.344 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5814, allocations: 3.938 kB / 1.491 GB, free: 7.34 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009026/0.5823, allocations: 331.2 kB / 1.491 GB, free: 7.016 MB / 1.186 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.004354/0.5866, allocations: 2.113 MB / 1.493 GB, free: 5.086 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.5885, allocations: 0.7921 MB / 1.494 GB, free: 4.281 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5885, allocations: 0 / 1.494 GB, free: 4.281 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009645/0.5894, allocations: 0.5005 MB / 1.494 GB, free: 3.773 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.5908, allocations: 320.4 kB / 1.495 GB, free: 3.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.6018, allocations: 6.436 MB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.6023, allocations: 452.9 kB / 1.501 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008312/0.6031, allocations: 267.1 kB / 1.502 GB, free: 12.14 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006039/0.6037, allocations: 403.3 kB / 1.502 GB, free: 11.74 MB / 1.201 GB Notification: Performance of SimCode: time 8.02e-07/0.6037, allocations: 0 / 1.502 GB, free: 11.74 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.6676, allocations: 24.62 MB / 1.526 GB, free: 3.449 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.99, allocations: 0 / 1.526 GB, free: 3.449 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.77050445601344]