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.001676/0.001676, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002067/0.002067, allocations: 212.4 kB / 22.99 MB, free: 4.957 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.553/1.553, allocations: 230.6 MB / 256.8 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.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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: 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.002074/0.002074, allocations: 65.47 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3513, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007284/0.3586, allocations: 4.501 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.5363, allocations: 132.7 MB / 1.461 GB, free: 7.277 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.5374, allocations: 23.81 kB / 1.461 GB, free: 7.254 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007008/0.5381, allocations: 210.1 kB / 1.461 GB, free: 7.047 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.5402, allocations: 0.5688 MB / 1.462 GB, free: 6.48 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.5426, allocations: 0.8838 MB / 1.463 GB, free: 5.602 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.5446, allocations: 1.443 MB / 1.464 GB, free: 4.152 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.5454, allocations: 430.1 kB / 1.464 GB, free: 3.707 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/0.5463, allocations: 0.5334 MB / 1.465 GB, free: 3.172 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006915/0.547, allocations: 0.5173 MB / 1.466 GB, free: 2.652 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.5471, allocations: 120 kB / 1.466 GB, free: 2.535 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.5482, allocations: 0.5035 MB / 1.466 GB, free: 2.031 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.5486, allocations: 299 kB / 1.466 GB, free: 1.738 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.5491, allocations: 481.7 kB / 1.467 GB, free: 1.266 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.5517, allocations: 1.716 MB / 1.469 GB, free: 15.54 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5517, allocations: 8 kB / 1.469 GB, free: 15.54 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5517, allocations: 0 / 1.469 GB, free: 15.54 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.5517, allocations: 0 / 1.469 GB, free: 15.54 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.003085/0.5548, allocations: 1.443 MB / 1.47 GB, free: 14.06 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5548, allocations: 8.031 kB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.5567, allocations: 291.9 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5582, allocations: 0.722 MB / 1.471 GB, free: 13.01 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.5582, allocations: 66 kB / 1.471 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5584, allocations: 87.98 kB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.5604, allocations: 1.234 MB / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.5604, allocations: 0 / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/0.5605, allocations: 43.98 kB / 1.472 GB, free: 11.47 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.5605, allocations: 28 kB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.5626, allocations: 1.12 MB / 1.473 GB, free: 10.32 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.5672, allocations: 2.397 MB / 1.476 GB, free: 7.859 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.5691, allocations: 0.8277 MB / 1.477 GB, free: 7.023 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.5696, allocations: 286.6 kB / 1.477 GB, free: 6.742 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.808e-05/0.5697, allocations: 16.64 kB / 1.477 GB, free: 6.727 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.5707, allocations: 0.6022 MB / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.705e-06/0.5707, allocations: 0 / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.00352/0.5742, allocations: 1.153 MB / 1.479 GB, free: 4.922 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.5744, allocations: 200.8 kB / 1.479 GB, free: 4.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.5753, allocations: 0.6096 MB / 1.479 GB, free: 4.066 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.993e-05/0.5753, allocations: 49.64 kB / 1.479 GB, free: 4.012 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.5757, allocations: 424.9 kB / 1.48 GB, free: 3.59 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.576, allocations: 281.6 kB / 1.48 GB, free: 3.312 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.5763, allocations: 178.5 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.5765, allocations: 382.8 kB / 1.481 GB, free: 2.75 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005634/0.577, allocations: 273.9 kB / 1.481 GB, free: 2.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.5778, allocations: 0.5021 MB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.579, allocations: 0.6501 MB / 1.482 GB, free: 1.258 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.579, allocations: 0 / 1.482 GB, free: 1.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002213/0.5812, allocations: 0.8881 MB / 1.483 GB, free: 364 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5812, allocations: 8 kB / 1.483 GB, free: 356 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5812, allocations: 192 / 1.483 GB, free: 356 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/0.5819, allocations: 88.77 kB / 1.483 GB, free: 264 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.5827, allocations: 171.8 kB / 1.483 GB, free: 92 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.5851, allocations: 1.504 MB / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.586, allocations: 85.72 kB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.5861, allocations: 39.97 kB / 1.485 GB, free: 14.36 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.0005468/0.5866, allocations: 271.6 kB / 1.485 GB, free: 14.08 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.5868, allocations: 95.53 kB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.5894, allocations: 1.081 MB / 1.486 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.5894, allocations: 12 kB / 1.486 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5894, allocations: 0 / 1.486 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5894, allocations: 11.91 kB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.5932, allocations: 1.795 MB / 1.488 GB, free: 11.03 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5932, allocations: 0 / 1.488 GB, free: 11.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/0.5938, allocations: 147.8 kB / 1.488 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.5943, allocations: 76.78 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.5944, allocations: 23.98 kB / 1.488 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.5965, allocations: 1.528 MB / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5965, allocations: 0 / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.5987, allocations: 1.022 MB / 1.491 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.5993, allocations: 203 kB / 1.491 GB, free: 7.906 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.5994, allocations: 16 kB / 1.491 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.6001, allocations: 63.92 kB / 1.491 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.6003, allocations: 80.86 kB / 1.491 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/0.6004, allocations: 27.98 kB / 1.491 GB, free: 7.719 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006218/0.601, allocations: 447 kB / 1.491 GB, free: 7.289 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.601, allocations: 0 / 1.491 GB, free: 7.289 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001049/0.602, allocations: 351 kB / 1.492 GB, free: 6.945 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.002141/0.6042, allocations: 0.6418 MB / 1.492 GB, free: 6.512 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.6061, allocations: 0.8195 MB / 1.493 GB, free: 5.684 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6061, allocations: 0 / 1.493 GB, free: 5.684 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.6071, allocations: 0.5005 MB / 1.494 GB, free: 5.172 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6084, allocations: 313.6 kB / 1.494 GB, free: 4.891 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.6116, allocations: 1.711 MB / 1.496 GB, free: 3.145 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.6121, allocations: 444.8 kB / 1.496 GB, free: 2.676 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008474/0.613, allocations: 270.6 kB / 1.496 GB, free: 2.406 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.6133, allocations: 111.4 kB / 1.496 GB, free: 2.297 MB / 1.186 GB Notification: Performance of SimCode: time 7.31e-07/0.6133, allocations: 0 / 1.496 GB, free: 2.297 MB / 1.186 GB Notification: Performance of Templates: time 0.02999/0.6433, allocations: 17.25 MB / 1.513 GB, free: 1.32 MB / 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 -s cvode -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/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: 9.830549623002298]