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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 189.5 kB / 22.1 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.134/3.134, allocations: 495.8 MB / 0.783 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 72 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007215/0.3256, allocations: 4.964 MB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.178/0.5036, allocations: 149.6 MB / 1.458 GB, free: 6.699 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.5043, allocations: 23.81 kB / 1.458 GB, free: 6.676 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.5049, allocations: 202.2 kB / 1.458 GB, free: 6.477 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.5065, allocations: 0.5594 MB / 1.458 GB, free: 5.918 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.5085, allocations: 0.8674 MB / 1.459 GB, free: 5.059 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.5102, allocations: 1.428 MB / 1.461 GB, free: 3.625 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007666/0.5109, allocations: 430 kB / 1.461 GB, free: 3.176 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.5117, allocations: 0.5217 MB / 1.462 GB, free: 2.652 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006457/0.5123, allocations: 0.5096 MB / 1.462 GB, free: 2.141 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.5125, allocations: 123.9 kB / 1.462 GB, free: 2.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009079/0.5134, allocations: 471.6 kB / 1.463 GB, free: 1.559 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.5137, allocations: 307 kB / 1.463 GB, free: 1.258 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.5143, allocations: 0.5674 MB / 1.464 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.5163, allocations: 1.658 MB / 1.465 GB, free: 15.02 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5163, allocations: 4 kB / 1.465 GB, free: 15.02 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5163, allocations: 0 / 1.465 GB, free: 15.02 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.5163, allocations: 0 / 1.465 GB, free: 15.02 MB / 1.17 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.002782/0.5191, allocations: 1.416 MB / 1.467 GB, free: 13.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5192, allocations: 12.92 kB / 1.467 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.5204, allocations: 239.9 kB / 1.467 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.5218, allocations: 0.7096 MB / 1.467 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.5218, allocations: 66 kB / 1.468 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5219, allocations: 88 kB / 1.468 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.5238, allocations: 0.9794 MB / 1.469 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5239, allocations: 0 / 1.469 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.524, allocations: 39.94 kB / 1.469 GB, free: 11.37 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.524, allocations: 24 kB / 1.469 GB, free: 11.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.5262, allocations: 1.163 MB / 1.47 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.531, allocations: 2.991 MB / 1.473 GB, free: 7.051 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.533, allocations: 0.8385 MB / 1.473 GB, free: 6.203 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.5335, allocations: 282.7 kB / 1.474 GB, free: 5.926 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.98e-05/0.5336, allocations: 28.62 kB / 1.474 GB, free: 5.898 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009579/0.5346, allocations: 0.5096 MB / 1.474 GB, free: 5.375 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.916e-06/0.5346, allocations: 0 / 1.474 GB, free: 5.375 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003528/0.5381, allocations: 1.149 MB / 1.475 GB, free: 4.215 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.5382, allocations: 196.9 kB / 1.476 GB, free: 3.98 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5392, allocations: 0.6332 MB / 1.476 GB, free: 3.34 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.021e-05/0.5393, allocations: 41.7 kB / 1.476 GB, free: 3.293 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.5397, allocations: 420.9 kB / 1.477 GB, free: 2.875 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.54, allocations: 285.6 kB / 1.477 GB, free: 2.594 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.5403, allocations: 170.6 kB / 1.477 GB, free: 2.422 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.5405, allocations: 386.8 kB / 1.477 GB, free: 2.035 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.5411, allocations: 277.8 kB / 1.478 GB, free: 1.762 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.5418, allocations: 385.7 kB / 1.478 GB, free: 1.363 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.5431, allocations: 0.6463 MB / 1.479 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5431, allocations: 0 / 1.479 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002236/0.5453, allocations: 0.8958 MB / 1.48 GB, free: 15.79 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5454, allocations: 5.719 kB / 1.48 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5454, allocations: 4 kB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.546, allocations: 80.97 kB / 1.48 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.5467, allocations: 175.7 kB / 1.48 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.5491, allocations: 1.527 MB / 1.481 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/0.5499, allocations: 97.42 kB / 1.481 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/0.55, allocations: 43.97 kB / 1.481 GB, free: 13.74 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: 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.0005487/0.5505, allocations: 275.3 kB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.5507, allocations: 91.44 kB / 1.482 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.5534, allocations: 1.089 MB / 1.483 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5534, allocations: 8 kB / 1.483 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5534, allocations: 4 kB / 1.483 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5534, allocations: 3.984 kB / 1.483 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/0.5574, allocations: 2.071 MB / 1.485 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5574, allocations: 4 kB / 1.485 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.558, allocations: 151.8 kB / 1.485 GB, free: 9.965 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/0.5585, allocations: 72.78 kB / 1.485 GB, free: 9.891 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.5586, allocations: 23.98 kB / 1.485 GB, free: 9.867 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.5607, allocations: 1.562 MB / 1.487 GB, free: 8.188 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5607, allocations: 0 / 1.487 GB, free: 8.188 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.563, allocations: 1.022 MB / 1.488 GB, free: 7.145 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.5635, allocations: 199.1 kB / 1.488 GB, free: 6.949 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5636, allocations: 16 kB / 1.488 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.5643, allocations: 67.92 kB / 1.488 GB, free: 6.867 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.5645, allocations: 76.94 kB / 1.488 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/0.5646, allocations: 35.98 kB / 1.488 GB, free: 6.758 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006592/0.5652, allocations: 459 kB / 1.488 GB, free: 6.312 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5652, allocations: 0 / 1.488 GB, free: 6.312 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001016/0.5663, allocations: 339.1 kB / 1.489 GB, free: 5.98 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.001948/0.5682, allocations: 0.6057 MB / 1.489 GB, free: 5.543 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.5701, allocations: 0.8237 MB / 1.49 GB, free: 4.707 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5702, allocations: 0 / 1.49 GB, free: 4.707 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.5712, allocations: 0.5002 MB / 1.491 GB, free: 4.199 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5726, allocations: 318.3 kB / 1.491 GB, free: 3.91 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.5759, allocations: 1.707 MB / 1.493 GB, free: 2.172 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.5767, allocations: 1.025 MB / 1.494 GB, free: 1.117 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009088/0.5776, allocations: 270.8 kB / 1.494 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.5779, allocations: 107.4 kB / 1.494 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of SimCode: time 8.01e-07/0.5779, allocations: 0 / 1.494 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of Templates: time 0.03106/0.609, allocations: 16.47 MB / 1.51 GB, free: 460 kB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.599178792908788]