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.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.001753/0.001753, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002193/0.002193, allocations: 220 kB / 23.04 MB, free: 4.844 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.122/3.122, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.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: 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.002032/0.002032, allocations: 72.69 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2027/0.5625, allocations: 158.5 MB / 1.482 GB, free: 1.867 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009595/0.5721, allocations: 7.214 MB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.5726, allocations: 23.81 kB / 1.489 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.5733, allocations: 250.2 kB / 1.489 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.5764, allocations: 1.217 MB / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.5783, allocations: 0.7513 MB / 1.491 GB, free: 8.391 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.5796, allocations: 1.083 MB / 1.492 GB, free: 7.305 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.5802, allocations: 325.9 kB / 1.493 GB, free: 6.973 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00292/0.5831, allocations: 1.017 MB / 1.494 GB, free: 5.965 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.5838, allocations: 418.5 kB / 1.494 GB, free: 5.555 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.5839, allocations: 40 kB / 1.494 GB, free: 5.516 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5854, allocations: 0.787 MB / 1.495 GB, free: 4.727 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.5856, allocations: 155.5 kB / 1.495 GB, free: 4.574 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.5859, allocations: 211 kB / 1.495 GB, free: 4.367 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.5872, allocations: 0.9071 MB / 1.496 GB, free: 3.457 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5872, allocations: 4 kB / 1.496 GB, free: 3.453 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5872, allocations: 0 / 1.496 GB, free: 3.453 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5872, allocations: 0 / 1.496 GB, free: 3.453 MB / 1.186 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.001222/0.5885, allocations: 0.7536 MB / 1.497 GB, free: 2.668 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5885, allocations: 8.031 kB / 1.497 GB, free: 2.66 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009175/0.5894, allocations: 155.5 kB / 1.497 GB, free: 2.508 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.59, allocations: 340.4 kB / 1.497 GB, free: 2.148 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.5901, allocations: 32.94 kB / 1.497 GB, free: 2.117 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.5901, allocations: 40 kB / 1.497 GB, free: 2.078 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.5909, allocations: 442.4 kB / 1.498 GB, free: 1.617 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5909, allocations: 3.938 kB / 1.498 GB, free: 1.613 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.5909, allocations: 19.94 kB / 1.498 GB, free: 1.594 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.5909, allocations: 8 kB / 1.498 GB, free: 1.586 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.5915, allocations: 327.7 kB / 1.498 GB, free: 1.27 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.5934, allocations: 1.396 MB / 1.499 GB, free: 15.82 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.5939, allocations: 218.5 kB / 1.5 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.5941, allocations: 141.3 kB / 1.5 GB, free: 15.46 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004564/0.5946, allocations: 75.92 kB / 1.5 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.5946, allocations: 38.56 kB / 1.5 GB, free: 15.34 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 3.857e-06/0.5946, allocations: 3.984 kB / 1.5 GB, free: 15.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001016/0.5956, allocations: 443.2 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.5957, allocations: 51.41 kB / 1.5 GB, free: 14.83 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.596, allocations: 292.5 kB / 1.501 GB, free: 14.53 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.596, allocations: 33.7 kB / 1.501 GB, free: 14.49 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.5962, allocations: 240.2 kB / 1.501 GB, free: 14.25 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.5963, allocations: 87.27 kB / 1.501 GB, free: 14.17 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5964, allocations: 61.62 kB / 1.501 GB, free: 14.1 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5965, allocations: 338.8 kB / 1.501 GB, free: 13.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.5967, allocations: 123.8 kB / 1.502 GB, free: 13.64 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.5971, allocations: 267.7 kB / 1.502 GB, free: 13.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.5976, allocations: 308.4 kB / 1.502 GB, free: 13.01 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5976, allocations: 0 / 1.502 GB, free: 13.01 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006348/0.5982, allocations: 351 kB / 1.502 GB, free: 12.66 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5983, allocations: 5.25 kB / 1.502 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5983, allocations: 7.984 kB / 1.502 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.5983, allocations: 4 kB / 1.502 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.5986, allocations: 63.84 kB / 1.502 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.5986, allocations: 11.92 kB / 1.502 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.5988, allocations: 27.83 kB / 1.503 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.5988, allocations: 16 kB / 1.503 GB, free: 12.53 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.000198/0.599, allocations: 169.9 kB / 1.503 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.5991, allocations: 27.81 kB / 1.503 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.5998, allocations: 367.2 kB / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.5998, allocations: 4 kB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5998, allocations: 0 / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5998, allocations: 0 / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.6012, allocations: 0.8198 MB / 1.504 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6012, allocations: 0 / 1.504 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.6014, allocations: 55.91 kB / 1.504 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6014, allocations: 0 / 1.504 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.6014, allocations: 8 kB / 1.504 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/0.6014, allocations: 7.938 kB / 1.504 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6015, allocations: 8.156 kB / 1.504 GB, free: 11.01 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.6024, allocations: 0.6233 MB / 1.505 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.6025, allocations: 63.66 kB / 1.505 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.6025, allocations: 7.938 kB / 1.505 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.6027, allocations: 11.98 kB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.6028, allocations: 19.97 kB / 1.505 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.6028, allocations: 8 kB / 1.505 GB, free: 10.24 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001876/0.603, allocations: 203.1 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.603, allocations: 0 / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004857/0.6035, allocations: 123.7 kB / 1.505 GB, free: 9.922 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.0002749/0.6038, allocations: 159 kB / 1.505 GB, free: 9.758 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005869/0.6044, allocations: 276.5 kB / 1.505 GB, free: 9.488 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6044, allocations: 64 / 1.505 GB, free: 9.488 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.6046, allocations: 143.7 kB / 1.506 GB, free: 9.348 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.6054, allocations: 146.5 kB / 1.506 GB, free: 9.207 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.6067, allocations: 0.8461 MB / 1.506 GB, free: 8.309 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.607, allocations: 223.4 kB / 1.507 GB, free: 8.066 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.6071, allocations: 35.42 kB / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of SimCode: time 4.11e-07/0.6071, allocations: 0 / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of Templates: time 0.009161/0.6162, allocations: 5.893 MB / 1.512 GB, free: 2.184 MB / 1.201 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/jenkins1/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: 12.39258549013175]