Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Sensors.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.00139/0.00139, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001484/0.001484, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.311/3.311, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") [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.002113/0.002113, allocations: 63.84 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3733, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.3015/0.6748, allocations: 233.3 MB / 1.592 GB, free: 3.512 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02609/0.7009, allocations: 17.57 MB / 1.61 GB, free: 1.879 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.7027, allocations: 67.44 kB / 1.61 GB, free: 1.812 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.705, allocations: 0.7452 MB / 1.61 GB, free: 1.062 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.8026/1.508, allocations: 1.853 MB / 1.612 GB, free: 4.996 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.004432/1.512, allocations: 1.485 MB / 1.614 GB, free: 4.996 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.005181/1.517, allocations: 3.073 MB / 1.617 GB, free: 4.992 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/1.519, allocations: 0.9359 MB / 1.618 GB, free: 4.93 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009643/1.529, allocations: 3.419 MB / 1.621 GB, free: 4.93 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/1.531, allocations: 0.9572 MB / 1.622 GB, free: 4.93 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/1.532, allocations: 103.2 kB / 1.622 GB, free: 4.93 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/1.535, allocations: 1.24 MB / 1.623 GB, free: 4.93 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0005698/1.535, allocations: 425.5 kB / 1.624 GB, free: 4.93 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0009441/1.536, allocations: 0.5819 MB / 1.624 GB, free: 4.93 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/1.54, allocations: 2.049 MB / 1.626 GB, free: 4.801 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.54, allocations: 0 / 1.626 GB, free: 4.801 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.495e-06/1.54, allocations: 3.359 kB / 1.626 GB, free: 4.801 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.813e-05/1.54, allocations: 0.7812 kB / 1.626 GB, free: 4.801 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002681/1.543, allocations: 1.562 MB / 1.628 GB, free: 3.984 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.543, allocations: 8.953 kB / 1.628 GB, free: 3.984 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/1.544, allocations: 292.9 kB / 1.628 GB, free: 3.906 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/1.546, allocations: 0.8056 MB / 1.629 GB, free: 3.59 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.665e-05/1.546, allocations: 73.69 kB / 1.629 GB, free: 3.59 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/1.546, allocations: 99.8 kB / 1.629 GB, free: 3.586 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/1.548, allocations: 1.004 MB / 1.63 GB, free: 3.375 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.548, allocations: 2 kB / 1.63 GB, free: 3.375 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/1.548, allocations: 39.81 kB / 1.63 GB, free: 3.375 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/1.548, allocations: 28.75 kB / 1.63 GB, free: 3.375 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/1.549, allocations: 0.6422 MB / 1.631 GB, free: 3.371 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/1.553, allocations: 3.379 MB / 1.634 GB, free: 1.508 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/1.554, allocations: 234.4 kB / 1.634 GB, free: 1.484 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/1.554, allocations: 123.2 kB / 1.634 GB, free: 1.477 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/1.554, allocations: 82.53 kB / 1.634 GB, free: 1.477 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.554, allocations: 38.58 kB / 1.634 GB, free: 1.434 MB / 1.295 GB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/1.554, allocations: 0 / 1.634 GB, free: 1.434 MB / 1.295 GB Notification: Performance of matching and sorting (n=29): time 0.0009844/1.555, allocations: 466.9 kB / 1.635 GB, free: 1.344 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/1.555, allocations: 54.69 kB / 1.635 GB, free: 1.281 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.556, allocations: 0.7858 MB / 1.636 GB, free: 1.113 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.556, allocations: 36.08 kB / 1.636 GB, free: 17.08 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/1.557, allocations: 0.6251 MB / 1.636 GB, free: 16.78 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/1.557, allocations: 118.3 kB / 1.636 GB, free: 16.71 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.557, allocations: 119.7 kB / 1.636 GB, free: 16.68 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.557, allocations: 330.4 kB / 1.637 GB, free: 16.38 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/1.558, allocations: 147.4 kB / 1.637 GB, free: 16.37 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/1.558, allocations: 0.7207 MB / 1.638 GB, free: 15.66 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/1.559, allocations: 0.5328 MB / 1.638 GB, free: 15.39 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.559, allocations: 2.625 kB / 1.638 GB, free: 15.39 MB / 1.311 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009723/1.56, allocations: 0.6008 MB / 1.639 GB, free: 15.31 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.56, allocations: 9.625 kB / 1.639 GB, free: 15.31 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.56, allocations: 7.312 kB / 1.639 GB, free: 15.31 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/1.56, allocations: 13.17 kB / 1.639 GB, free: 15.31 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/1.561, allocations: 183.7 kB / 1.639 GB, free: 15.31 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/1.562, allocations: 2.362 MB / 1.641 GB, free: 12.96 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/1.563, allocations: 61.75 kB / 1.641 GB, free: 12.94 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/1.563, allocations: 32.53 kB / 1.641 GB, free: 12.94 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006081/1.564, allocations: 371 kB / 1.642 GB, free: 12.86 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007118/1.564, allocations: 0.716 MB / 1.642 GB, free: 12.15 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007224/1.565, allocations: 0.534 MB / 1.643 GB, free: 11.88 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/1.565, allocations: 2.469 kB / 1.643 GB, free: 11.88 MB / 1.311 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009324/1.566, allocations: 0.5937 MB / 1.643 GB, free: 11.8 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.566, allocations: 10.48 kB / 1.643 GB, free: 11.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.566, allocations: 8.219 kB / 1.643 GB, free: 11.8 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/1.566, allocations: 10.75 kB / 1.643 GB, free: 11.8 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/1.567, allocations: 125.1 kB / 1.644 GB, free: 11.8 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/1.567, allocations: 16.34 kB / 1.644 GB, free: 11.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/1.567, allocations: 56.78 kB / 1.644 GB, free: 11.78 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/1.567, allocations: 32.47 kB / 1.644 GB, free: 11.78 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002252/1.567, allocations: 221.2 kB / 1.644 GB, free: 11.59 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.568, allocations: 96.59 kB / 1.644 GB, free: 11.54 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/1.568, allocations: 380.1 kB / 1.644 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.568, allocations: 4.969 kB / 1.644 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.568, allocations: 0 / 1.644 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.568, allocations: 1.969 kB / 1.644 GB, free: 11.5 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/1.57, allocations: 1.129 MB / 1.645 GB, free: 11.17 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.57, allocations: 2.594 kB / 1.645 GB, free: 11.17 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.571, allocations: 97.53 kB / 1.646 GB, free: 11.16 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/1.571, allocations: 7.641 kB / 1.646 GB, free: 11.16 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/1.571, allocations: 11.56 kB / 1.646 GB, free: 11.16 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/1.572, allocations: 2.345 MB / 1.648 GB, free: 8.816 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.572, allocations: 5.734 kB / 1.648 GB, free: 8.816 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/1.573, allocations: 0.6491 MB / 1.649 GB, free: 8.547 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/1.574, allocations: 113.6 kB / 1.649 GB, free: 8.496 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/1.574, allocations: 9.859 kB / 1.649 GB, free: 8.496 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/1.574, allocations: 18.5 kB / 1.649 GB, free: 8.488 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.574, allocations: 28.17 kB / 1.649 GB, free: 8.484 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/1.574, allocations: 14.58 kB / 1.649 GB, free: 8.484 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0007614/1.575, allocations: 0.5123 MB / 1.649 GB, free: 8.375 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.575, allocations: 0 / 1.649 GB, free: 8.375 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00171/1.577, allocations: 0.5459 MB / 1.65 GB, free: 8.273 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003848/1.577, allocations: 186.5 kB / 1.65 GB, free: 8.18 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001611/1.579, allocations: 0.6436 MB / 1.651 GB, free: 8.168 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.579, allocations: 0.9062 kB / 1.651 GB, free: 8.168 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/1.579, allocations: 164.5 kB / 1.651 GB, free: 8.168 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.581, allocations: 359.2 kB / 1.651 GB, free: 8.129 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/1.584, allocations: 1.926 MB / 1.653 GB, free: 7.227 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/1.585, allocations: 0.5216 MB / 1.653 GB, free: 7.113 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/1.585, allocations: 63.47 kB / 1.653 GB, free: 7.105 MB / 1.311 GB Notification: Performance of SimCode: time 1.092e-06/1.585, allocations: 0 / 1.653 GB, free: 7.105 MB / 1.311 GB Notification: Performance of Templates: time 0.04124/1.626, allocations: 33.42 MB / 1.686 GB, free: 4.293 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.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: 15.533619803842157]