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.001225/0.001225, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009561/0.0009561, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9137/0.9137, allocations: 177.1 MB / 203.5 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.739/1.739, allocations: 377.9 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 0.9821 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.37e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004364/0.004387, allocations: 4.492 MB / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.6865/0.6909, allocations: 132.8 MB / 1.116 GB, free: 20.48 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.6919, allocations: 24.5 kB / 1.116 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.6926, allocations: 202.2 kB / 1.116 GB, free: 20.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.6942, allocations: 0.5888 MB / 1.117 GB, free: 19.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.6962, allocations: 0.9012 MB / 1.118 GB, free: 19.51 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.6976, allocations: 1.51 MB / 1.119 GB, free: 18.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.6983, allocations: 410.5 kB / 1.12 GB, free: 18.48 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.6992, allocations: 0.7675 MB / 1.12 GB, free: 18.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.6998, allocations: 422.1 kB / 1.121 GB, free: 17.96 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.6999, allocations: 128.7 kB / 1.121 GB, free: 17.96 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.7008, allocations: 0.4997 MB / 1.121 GB, free: 17.84 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.7011, allocations: 320.1 kB / 1.122 GB, free: 17.64 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.7014, allocations: 404.4 kB / 1.122 GB, free: 17.44 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.7034, allocations: 1.84 MB / 1.124 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.7034, allocations: 0.6094 kB / 1.124 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.556e-06/0.7034, allocations: 1.125 kB / 1.124 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.7034, allocations: 0 / 1.124 GB, free: 16.67 MB / 0.9948 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.001909/0.7053, allocations: 1.464 MB / 1.125 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.7054, allocations: 10.03 kB / 1.125 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.7064, allocations: 287.6 kB / 1.126 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7074, allocations: 0.731 MB / 1.126 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.7075, allocations: 70.86 kB / 1.126 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/0.7076, allocations: 96.56 kB / 1.127 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.709, allocations: 1.259 MB / 1.128 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.709, allocations: 1.125 kB / 1.128 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.709, allocations: 38.89 kB / 1.128 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.7091, allocations: 25.22 kB / 1.128 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.7106, allocations: 1.127 MB / 1.129 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.7138, allocations: 2.532 MB / 1.131 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.7152, allocations: 0.8785 MB / 1.132 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.7156, allocations: 310.3 kB / 1.133 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.7156, allocations: 25.75 kB / 1.133 GB, free: 12 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007214/0.7163, allocations: 0.6219 MB / 1.133 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=91): time 2.615e-06/0.7163, allocations: 0 / 1.133 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91): time 0.002241/0.7186, allocations: 1.197 MB / 1.134 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.7187, allocations: 199.2 kB / 1.135 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006729/0.7193, allocations: 0.6139 MB / 1.135 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.7194, allocations: 49.83 kB / 1.135 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.7196, allocations: 424.9 kB / 1.136 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.7198, allocations: 305.8 kB / 1.136 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.72, allocations: 183.9 kB / 1.136 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7201, allocations: 395.2 kB / 1.136 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.7206, allocations: 302.9 kB / 1.137 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.7212, allocations: 0.5381 MB / 1.137 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.7221, allocations: 0.6855 MB / 1.138 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7221, allocations: 1.188 kB / 1.138 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001439/0.7235, allocations: 0.9557 MB / 1.139 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7235, allocations: 5.719 kB / 1.139 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7235, allocations: 1.844 kB / 1.139 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.7239, allocations: 86.3 kB / 1.139 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.7244, allocations: 180.3 kB / 1.139 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.7257, allocations: 1.492 MB / 1.141 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.7261, allocations: 103.3 kB / 1.141 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.7261, allocations: 41.78 kB / 1.141 GB, free: 7.035 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (113): * Single equations (assignments): 112 * 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.000276/0.7264, allocations: 279.4 kB / 1.141 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.7265, allocations: 93.03 kB / 1.141 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.7282, allocations: 1.122 MB / 1.142 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.7282, allocations: 10.06 kB / 1.142 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7282, allocations: 0.7969 kB / 1.142 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.7282, allocations: 4.781 kB / 1.142 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.7308, allocations: 1.954 MB / 1.144 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.7308, allocations: 4.641 kB / 1.144 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.7311, allocations: 152.3 kB / 1.144 GB, free: 5.379 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.7314, allocations: 77.97 kB / 1.144 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.7314, allocations: 31.48 kB / 1.144 GB, free: 5.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009896/0.7324, allocations: 1.526 MB / 1.146 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7324, allocations: 1.828 kB / 1.146 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.7338, allocations: 1.055 MB / 1.147 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.734, allocations: 203.8 kB / 1.147 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.7341, allocations: 28.67 kB / 1.147 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.7344, allocations: 62.08 kB / 1.147 GB, free: 3.332 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.7346, allocations: 75.59 kB / 1.147 GB, free: 3.324 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.7346, allocations: 44.97 kB / 1.147 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004041/0.735, allocations: 441.1 kB / 1.148 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.735, allocations: 0 / 1.148 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000831/0.7359, allocations: 351.3 kB / 1.148 GB, free: 3.02 MB / 0.9948 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 (103): * Single equations (assignments): 92 * 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.001113/0.737, allocations: 0.6591 MB / 1.149 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.7382, allocations: 0.8739 MB / 1.15 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7382, allocations: 1.406 kB / 1.15 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.7388, allocations: 0.5117 MB / 1.15 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.7396, allocations: 301.5 kB / 1.15 GB, free: 2.07 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.7417, allocations: 1.776 MB / 1.152 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.7421, allocations: 456.8 kB / 1.153 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.7423, allocations: 125.3 kB / 1.153 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of SimCode: time 1.353e-06/0.7423, allocations: 0 / 1.153 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of Templates: time 0.02287/0.7652, allocations: 19.82 MB / 1.172 GB, free: 12.21 MB / 1.01 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.455518430098891]