Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001852/0.001852, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002323/0.002323, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.785 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.45/3.45, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.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_latest_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_latest_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.002168/0.002168, allocations: 70.94 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3751, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2165/0.5915, allocations: 158.5 MB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.6021, allocations: 7.214 MB / 1.526 GB, free: 7.156 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.6027, allocations: 27.75 kB / 1.526 GB, free: 7.129 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.6036, allocations: 250.2 kB / 1.526 GB, free: 6.883 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003856/0.6074, allocations: 1.217 MB / 1.527 GB, free: 5.66 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.6097, allocations: 0.7502 MB / 1.528 GB, free: 4.91 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.6117, allocations: 1.08 MB / 1.529 GB, free: 3.828 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.6123, allocations: 333.8 kB / 1.529 GB, free: 3.492 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.616, allocations: 1.007 MB / 1.53 GB, free: 2.492 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009888/0.617, allocations: 422.4 kB / 1.531 GB, free: 2.078 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.6171, allocations: 36 kB / 1.531 GB, free: 2.043 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.6193, allocations: 0.791 MB / 1.531 GB, free: 1.25 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.6196, allocations: 163.5 kB / 1.532 GB, free: 1.09 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.62, allocations: 199.1 kB / 1.532 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.6225, allocations: 0.9226 MB / 1.533 GB, free: 15.97 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.6225, allocations: 0 / 1.533 GB, free: 15.97 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6225, allocations: 0 / 1.533 GB, free: 15.97 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.762e-05/0.6226, allocations: 0 / 1.533 GB, free: 15.97 MB / 1.232 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.001745/0.6243, allocations: 0.7497 MB / 1.533 GB, free: 15.19 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.6243, allocations: 12.03 kB / 1.533 GB, free: 15.18 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.6254, allocations: 147.5 kB / 1.534 GB, free: 15.03 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.6262, allocations: 340.4 kB / 1.534 GB, free: 14.68 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.6262, allocations: 33 kB / 1.534 GB, free: 14.64 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.6263, allocations: 36 kB / 1.534 GB, free: 14.61 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.6271, allocations: 446.4 kB / 1.534 GB, free: 14.15 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.6271, allocations: 4 kB / 1.534 GB, free: 14.14 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.6272, allocations: 19.94 kB / 1.534 GB, free: 14.12 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6272, allocations: 8 kB / 1.534 GB, free: 14.12 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.6279, allocations: 319.7 kB / 1.535 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.6302, allocations: 1.4 MB / 1.536 GB, free: 12.35 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.6307, allocations: 226.4 kB / 1.536 GB, free: 12.12 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.6309, allocations: 137.2 kB / 1.536 GB, free: 11.98 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.6314, allocations: 79.72 kB / 1.537 GB, free: 11.91 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.6315, allocations: 34.56 kB / 1.537 GB, free: 11.86 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.6315, allocations: 4 kB / 1.537 GB, free: 11.86 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.001161/0.6326, allocations: 451 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.6327, allocations: 55.41 kB / 1.537 GB, free: 11.35 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.6331, allocations: 284.5 kB / 1.537 GB, free: 11.05 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.6331, allocations: 29.7 kB / 1.537 GB, free: 11.02 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.6333, allocations: 248.2 kB / 1.538 GB, free: 10.77 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6334, allocations: 91.22 kB / 1.538 GB, free: 10.68 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6335, allocations: 57.69 kB / 1.538 GB, free: 10.62 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.6337, allocations: 338.8 kB / 1.538 GB, free: 10.28 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.634, allocations: 111.9 kB / 1.538 GB, free: 10.17 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.6344, allocations: 259.9 kB / 1.538 GB, free: 9.875 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.635, allocations: 308 kB / 1.539 GB, free: 9.551 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.635, allocations: 0 / 1.539 GB, free: 9.551 MB / 1.232 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007153/0.6357, allocations: 359.5 kB / 1.539 GB, free: 9.195 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6357, allocations: 8 kB / 1.539 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.6357, allocations: 0 / 1.539 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.6358, allocations: 4 kB / 1.539 GB, free: 9.184 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.6361, allocations: 59.91 kB / 1.539 GB, free: 9.125 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.6361, allocations: 4 kB / 1.539 GB, free: 9.121 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.6363, allocations: 35.83 kB / 1.539 GB, free: 9.086 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.6363, allocations: 12 kB / 1.539 GB, free: 9.074 MB / 1.232 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.0002268/0.6366, allocations: 165.7 kB / 1.539 GB, free: 8.902 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.6366, allocations: 35.81 kB / 1.539 GB, free: 8.867 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.6374, allocations: 368.4 kB / 1.54 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6374, allocations: 0 / 1.54 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6374, allocations: 0 / 1.54 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6374, allocations: 0 / 1.54 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.6389, allocations: 0.8293 MB / 1.541 GB, free: 7.617 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6389, allocations: 0 / 1.541 GB, free: 7.617 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.6392, allocations: 51.91 kB / 1.541 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6392, allocations: 4 kB / 1.541 GB, free: 7.562 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.6392, allocations: 8 kB / 1.541 GB, free: 7.555 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.6392, allocations: 15.86 kB / 1.541 GB, free: 7.539 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6392, allocations: 0 / 1.541 GB, free: 7.539 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.6402, allocations: 0.6198 MB / 1.541 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.6404, allocations: 63.75 kB / 1.541 GB, free: 6.82 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.6405, allocations: 7.938 kB / 1.541 GB, free: 6.812 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.6406, allocations: 15.98 kB / 1.541 GB, free: 6.797 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.6407, allocations: 31.75 kB / 1.541 GB, free: 6.766 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.6407, allocations: 8 kB / 1.541 GB, free: 6.758 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002326/0.641, allocations: 199.1 kB / 1.542 GB, free: 6.566 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.641, allocations: 0 / 1.542 GB, free: 6.566 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005371/0.6415, allocations: 123.7 kB / 1.542 GB, free: 6.445 MB / 1.232 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.0003332/0.6418, allocations: 161.5 kB / 1.542 GB, free: 6.281 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006348/0.6425, allocations: 282.5 kB / 1.542 GB, free: 6.008 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6425, allocations: 0 / 1.542 GB, free: 6.008 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.6428, allocations: 150.9 kB / 1.542 GB, free: 5.863 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.6435, allocations: 126.7 kB / 1.542 GB, free: 5.738 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.6449, allocations: 0.792 MB / 1.543 GB, free: 4.895 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.6452, allocations: 227.4 kB / 1.543 GB, free: 4.652 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.6454, allocations: 82.91 kB / 1.543 GB, free: 4.57 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.6455, allocations: 31.44 kB / 1.543 GB, free: 4.539 MB / 1.232 GB Notification: Performance of SimCode: time 5.11e-07/0.6455, allocations: 0 / 1.543 GB, free: 4.539 MB / 1.232 GB Notification: Performance of Templates: time 0.01354/0.6591, allocations: 6.125 MB / 1.549 GB, free: 14.55 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.831952480599284]