Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001537/0.001537, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001646/0.001646, allocations: 190 kB / 22.23 MB, free: 5.098 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.328/1.328, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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 2.885/2.885, allocations: 496 MB / 0.7835 GB, free: 33.64 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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.95 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.328, allocations: 173.6 MB / 1.307 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2084/0.5365, allocations: 180.3 MB / 1.483 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.5469, allocations: 7.94 MB / 1.491 GB, free: 4.77 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.5477, allocations: 31.69 kB / 1.491 GB, free: 4.738 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008132/0.5485, allocations: 246.2 kB / 1.491 GB, free: 4.496 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.5521, allocations: 1.284 MB / 1.493 GB, free: 3.207 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.554, allocations: 0.7666 MB / 1.493 GB, free: 2.441 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.5554, allocations: 1.083 MB / 1.494 GB, free: 1.355 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005764/0.556, allocations: 329.9 kB / 1.495 GB, free: 1.023 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.5588, allocations: 1.028 MB / 1.496 GB, free: 4 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.5595, allocations: 454.3 kB / 1.496 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.5596, allocations: 36 kB / 1.496 GB, free: 15.52 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.5614, allocations: 1.006 MB / 1.497 GB, free: 14.52 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.5616, allocations: 155.5 kB / 1.497 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.5618, allocations: 258.7 kB / 1.498 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.5633, allocations: 0.9343 MB / 1.499 GB, free: 13.17 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5633, allocations: 0 / 1.499 GB, free: 13.17 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5633, allocations: 0 / 1.499 GB, free: 13.17 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.5633, allocations: 0 / 1.499 GB, free: 13.17 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001195/0.5645, allocations: 0.7497 MB / 1.499 GB, free: 12.39 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5645, allocations: 12.92 kB / 1.499 GB, free: 12.38 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.5655, allocations: 155.4 kB / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.5661, allocations: 340.4 kB / 1.5 GB, free: 11.87 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.5661, allocations: 32.98 kB / 1.5 GB, free: 11.84 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.5662, allocations: 36 kB / 1.5 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.5669, allocations: 450.4 kB / 1.5 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5669, allocations: 0 / 1.5 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.567, allocations: 19.94 kB / 1.5 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.567, allocations: 8 kB / 1.5 GB, free: 11.31 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.5676, allocations: 319.7 kB / 1.501 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.5699, allocations: 1.968 MB / 1.503 GB, free: 8.867 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.5703, allocations: 227.5 kB / 1.503 GB, free: 8.637 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.5705, allocations: 144.8 kB / 1.503 GB, free: 8.492 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.571, allocations: 67.92 kB / 1.503 GB, free: 8.426 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.571, allocations: 46.48 kB / 1.503 GB, free: 8.371 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.571, allocations: 4 kB / 1.503 GB, free: 8.367 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001036/0.5721, allocations: 452.5 kB / 1.503 GB, free: 7.922 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5721, allocations: 55.41 kB / 1.503 GB, free: 7.855 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.5726, allocations: 401.8 kB / 1.504 GB, free: 7.453 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.5726, allocations: 29.7 kB / 1.504 GB, free: 7.418 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.5728, allocations: 232.6 kB / 1.504 GB, free: 7.184 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.5729, allocations: 95.2 kB / 1.504 GB, free: 7.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.5729, allocations: 57.69 kB / 1.504 GB, free: 7.027 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.5731, allocations: 350.7 kB / 1.505 GB, free: 6.676 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.5734, allocations: 107.9 kB / 1.505 GB, free: 6.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.5737, allocations: 195.2 kB / 1.505 GB, free: 6.355 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.5742, allocations: 309.2 kB / 1.505 GB, free: 6.031 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5742, allocations: 0 / 1.505 GB, free: 6.031 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006339/0.5748, allocations: 365 kB / 1.506 GB, free: 5.668 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5748, allocations: 8.219 kB / 1.506 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5748, allocations: 4 kB / 1.506 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5748, allocations: 4 kB / 1.506 GB, free: 5.652 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.5751, allocations: 59.91 kB / 1.506 GB, free: 5.594 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5751, allocations: 4 kB / 1.506 GB, free: 5.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.5753, allocations: 39.72 kB / 1.506 GB, free: 5.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.5754, allocations: 8 kB / 1.506 GB, free: 5.543 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.5756, allocations: 173.6 kB / 1.506 GB, free: 5.363 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.5756, allocations: 47.72 kB / 1.506 GB, free: 5.316 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007151/0.5764, allocations: 369 kB / 1.506 GB, free: 4.949 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5764, allocations: 0 / 1.506 GB, free: 4.949 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5764, allocations: 4 kB / 1.506 GB, free: 4.945 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5764, allocations: 7.922 kB / 1.506 GB, free: 4.938 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.5778, allocations: 0.9127 MB / 1.507 GB, free: 3.953 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5778, allocations: 4 kB / 1.507 GB, free: 3.949 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5781, allocations: 51.91 kB / 1.507 GB, free: 3.898 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.5781, allocations: 12.16 kB / 1.507 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.5781, allocations: 4 kB / 1.507 GB, free: 3.883 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5781, allocations: 3.984 kB / 1.507 GB, free: 3.879 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5781, allocations: 7.938 kB / 1.507 GB, free: 3.871 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.5791, allocations: 0.6263 MB / 1.508 GB, free: 3.211 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.5792, allocations: 75.64 kB / 1.508 GB, free: 3.137 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.5793, allocations: 4 kB / 1.508 GB, free: 3.133 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.5795, allocations: 8 kB / 1.508 GB, free: 3.125 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.5795, allocations: 27.97 kB / 1.508 GB, free: 3.098 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.5796, allocations: 11.98 kB / 1.508 GB, free: 3.086 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002971/0.5799, allocations: 283.1 kB / 1.508 GB, free: 2.812 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5799, allocations: 0 / 1.508 GB, free: 2.812 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004439/0.5803, allocations: 111.8 kB / 1.508 GB, free: 2.703 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.5807, allocations: 168.5 kB / 1.508 GB, free: 2.535 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006417/0.5813, allocations: 278.9 kB / 1.509 GB, free: 2.266 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5813, allocations: 0 / 1.509 GB, free: 2.266 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.5816, allocations: 150.9 kB / 1.509 GB, free: 2.121 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5827, allocations: 218.8 kB / 1.509 GB, free: 1.91 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.5844, allocations: 0.8192 MB / 1.51 GB, free: 1.039 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.5849, allocations: 0.8311 MB / 1.511 GB, free: 184 kB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.5853, allocations: 95.41 kB / 1.511 GB, free: 88 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5854, allocations: 39.42 kB / 1.511 GB, free: 48 kB / 1.201 GB Notification: Performance of SimCode: time 1.402e-06/0.5854, allocations: 0 / 1.511 GB, free: 48 kB / 1.201 GB Notification: Performance of Templates: time 0.01553/0.6009, allocations: 7.847 MB / 1.518 GB, free: 8.32 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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: 8.508008382283151]