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.001851/0.001851, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002449/0.002449, allocations: 214.4 kB / 23.04 MB, free: 5.074 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.133/3.133, allocations: 0.49 GB / 0.7959 GB, free: 33.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",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.001928/0.001928, allocations: 69.48 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006832/0.3272, allocations: 5.019 MB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1886/0.5158, allocations: 154.2 MB / 1.482 GB, free: 2.172 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.5172, allocations: 23.81 kB / 1.482 GB, free: 2.148 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008829/0.5181, allocations: 202.1 kB / 1.482 GB, free: 1.949 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.5203, allocations: 0.5764 MB / 1.483 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5229, allocations: 0.8978 MB / 1.484 GB, free: 496 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.5251, allocations: 1.455 MB / 1.485 GB, free: 15.02 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.5261, allocations: 430.1 kB / 1.486 GB, free: 14.58 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009989/0.5271, allocations: 0.5256 MB / 1.486 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.5281, allocations: 0.5289 MB / 1.487 GB, free: 13.52 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.5285, allocations: 120 kB / 1.487 GB, free: 13.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.5297, allocations: 0.5113 MB / 1.487 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.5302, allocations: 307 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007929/0.531, allocations: 0.5829 MB / 1.488 GB, free: 12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.5337, allocations: 1.708 MB / 1.49 GB, free: 10.29 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5337, allocations: 4 kB / 1.49 GB, free: 10.29 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5337, allocations: 0 / 1.49 GB, free: 10.29 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.623e-05/0.5337, allocations: 0 / 1.49 GB, free: 10.29 MB / 1.186 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.003388/0.5371, allocations: 1.46 MB / 1.491 GB, free: 8.793 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5372, allocations: 12.03 kB / 1.491 GB, free: 8.781 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.634e-05/0.5372, allocations: 26.12 kB / 1.491 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.5374, allocations: 143.7 kB / 1.491 GB, free: 8.605 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.5393, allocations: 279.9 kB / 1.492 GB, free: 8.332 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.5408, allocations: 0.7217 MB / 1.492 GB, free: 7.578 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.5409, allocations: 69.98 kB / 1.492 GB, free: 7.512 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.541, allocations: 87.94 kB / 1.492 GB, free: 7.426 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.5428, allocations: 0.9794 MB / 1.493 GB, free: 6.395 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5429, allocations: 3.938 kB / 1.493 GB, free: 6.391 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/0.543, allocations: 40 kB / 1.493 GB, free: 6.352 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.543, allocations: 20 kB / 1.493 GB, free: 6.332 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.5452, allocations: 1.167 MB / 1.495 GB, free: 5.168 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004941/0.5501, allocations: 3.018 MB / 1.498 GB, free: 2.008 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.552, allocations: 0.8285 MB / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.5527, allocations: 282.7 kB / 1.499 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/0.5528, allocations: 32.61 kB / 1.499 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009408/0.5537, allocations: 0.4964 MB / 1.499 GB, free: 360 kB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.374e-06/0.5537, allocations: 4 kB / 1.499 GB, free: 356 kB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.003382/0.5571, allocations: 1.154 MB / 1.5 GB, free: 15.19 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.5572, allocations: 200.9 kB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.5583, allocations: 0.6606 MB / 1.501 GB, free: 14.28 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.76e-05/0.5584, allocations: 41.7 kB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.5588, allocations: 429 kB / 1.502 GB, free: 13.81 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.5591, allocations: 273.6 kB / 1.502 GB, free: 13.54 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.5593, allocations: 154.6 kB / 1.502 GB, free: 13.38 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.5596, allocations: 390.8 kB / 1.502 GB, free: 12.99 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.5601, allocations: 257.9 kB / 1.503 GB, free: 12.74 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.5609, allocations: 377.1 kB / 1.503 GB, free: 12.33 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.5621, allocations: 0.6345 MB / 1.504 GB, free: 11.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.5621, allocations: 0 / 1.504 GB, free: 11.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002118/0.5642, allocations: 0.8413 MB / 1.504 GB, free: 10.83 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5642, allocations: 4 kB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5642, allocations: 4 kB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.5648, allocations: 92.86 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.5655, allocations: 159.8 kB / 1.505 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.5678, allocations: 1.531 MB / 1.506 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.5685, allocations: 95.41 kB / 1.506 GB, free: 8.824 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.5686, allocations: 27.98 kB / 1.506 GB, free: 8.797 MB / 1.201 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.0004792/0.569, allocations: 284.3 kB / 1.507 GB, free: 8.512 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.5693, allocations: 87.44 kB / 1.507 GB, free: 8.426 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.5718, allocations: 1.089 MB / 1.508 GB, free: 7.32 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5718, allocations: 12 kB / 1.508 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5718, allocations: 0 / 1.508 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5718, allocations: 3.984 kB / 1.508 GB, free: 7.305 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.576, allocations: 2.094 MB / 1.51 GB, free: 5.145 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.576, allocations: 3.984 kB / 1.51 GB, free: 5.141 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.5766, allocations: 151.8 kB / 1.51 GB, free: 4.992 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/0.577, allocations: 68.8 kB / 1.51 GB, free: 4.922 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.5771, allocations: 27.97 kB / 1.51 GB, free: 4.895 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.5792, allocations: 1.562 MB / 1.512 GB, free: 3.211 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5792, allocations: 0 / 1.512 GB, free: 3.211 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.5814, allocations: 1.014 MB / 1.513 GB, free: 2.184 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.5819, allocations: 203 kB / 1.513 GB, free: 1.984 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.5821, allocations: 27.92 kB / 1.513 GB, free: 1.957 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.5828, allocations: 66.75 kB / 1.513 GB, free: 1.895 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5829, allocations: 76.8 kB / 1.513 GB, free: 1.816 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.583, allocations: 39.97 kB / 1.513 GB, free: 1.777 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006817/0.5837, allocations: 475 kB / 1.513 GB, free: 1.316 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5837, allocations: 0 / 1.513 GB, free: 1.316 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009859/0.5847, allocations: 335.1 kB / 1.514 GB, free: 0.9883 MB / 1.201 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.004555/0.5892, allocations: 2.077 MB / 1.516 GB, free: 15.06 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.5911, allocations: 0.7964 MB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5911, allocations: 0 / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5922, allocations: 0.5001 MB / 1.517 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.5938, allocations: 318.8 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6065, allocations: 6.438 MB / 1.524 GB, free: 6.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.6074, allocations: 1.039 MB / 1.525 GB, free: 5.773 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00109/0.6085, allocations: 271 kB / 1.525 GB, free: 5.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007304/0.6092, allocations: 403.3 kB / 1.525 GB, free: 5.109 MB / 1.217 GB Notification: Performance of SimCode: time 1.463e-06/0.6092, allocations: 0 / 1.525 GB, free: 5.109 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06362/0.6728, allocations: 23.32 MB / 1.548 GB, free: 14.04 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.6, allocations: 0 / 1.548 GB, free: 14.04 MB / 1.248 GB " [Timeout remaining time 284] (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: 22.56018883100478]