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.001787/0.001787, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002216/0.002216, allocations: 215.9 kB / 22.99 MB, free: 4.914 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.8 MB, free: 7.809 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.407/3.407, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002029/0.002029, allocations: 63.75 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.225/0.5843, allocations: 158.5 MB / 1.519 GB, free: 14.46 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.5959, allocations: 7.212 MB / 1.526 GB, free: 7.223 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007757/0.5967, allocations: 31.75 kB / 1.527 GB, free: 7.191 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009755/0.5977, allocations: 246.2 kB / 1.527 GB, free: 6.949 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.6016, allocations: 1.217 MB / 1.528 GB, free: 5.727 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.604, allocations: 0.7618 MB / 1.529 GB, free: 4.965 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.6059, allocations: 1.076 MB / 1.53 GB, free: 3.887 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008082/0.6067, allocations: 333.9 kB / 1.53 GB, free: 3.551 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.6103, allocations: 1.006 MB / 1.531 GB, free: 2.555 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.6113, allocations: 422.4 kB / 1.531 GB, free: 2.141 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.6114, allocations: 36 kB / 1.531 GB, free: 2.105 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.6134, allocations: 0.7871 MB / 1.532 GB, free: 1.316 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.6137, allocations: 171.4 kB / 1.532 GB, free: 1.148 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.614, allocations: 203.1 kB / 1.533 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.6158, allocations: 0.9109 MB / 1.533 GB, free: 36 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6158, allocations: 0 / 1.533 GB, free: 36 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6158, allocations: 0 / 1.533 GB, free: 36 kB / 1.217 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.6158, allocations: 0 / 1.533 GB, free: 36 kB / 1.217 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.001273/0.6171, allocations: 0.7381 MB / 1.534 GB, free: 15.27 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6172, allocations: 16.03 kB / 1.534 GB, free: 15.25 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.6181, allocations: 159.5 kB / 1.534 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.6188, allocations: 340.4 kB / 1.535 GB, free: 14.74 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.6188, allocations: 29 kB / 1.535 GB, free: 14.71 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.6189, allocations: 40 kB / 1.535 GB, free: 14.67 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008141/0.6197, allocations: 446.4 kB / 1.535 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6197, allocations: 0 / 1.535 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.6198, allocations: 19.88 kB / 1.535 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.6198, allocations: 12 kB / 1.535 GB, free: 14.18 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006419/0.6204, allocations: 323.7 kB / 1.536 GB, free: 13.86 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.6225, allocations: 1.396 MB / 1.537 GB, free: 12.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.6229, allocations: 222.5 kB / 1.537 GB, free: 12.19 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.6232, allocations: 141.2 kB / 1.537 GB, free: 12.05 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.6237, allocations: 79.77 kB / 1.537 GB, free: 11.97 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.6238, allocations: 30.56 kB / 1.537 GB, free: 11.93 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.6238, allocations: 4 kB / 1.537 GB, free: 11.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.001141/0.6249, allocations: 455.2 kB / 1.538 GB, free: 11.48 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.625, allocations: 55.41 kB / 1.538 GB, free: 11.41 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.6253, allocations: 280.5 kB / 1.538 GB, free: 11.12 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.6254, allocations: 29.7 kB / 1.538 GB, free: 11.09 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.6256, allocations: 248.2 kB / 1.538 GB, free: 10.84 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.6257, allocations: 87.2 kB / 1.538 GB, free: 10.75 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.6258, allocations: 65.69 kB / 1.539 GB, free: 10.68 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.6261, allocations: 338.8 kB / 1.539 GB, free: 10.34 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.6263, allocations: 111.9 kB / 1.539 GB, free: 10.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.6267, allocations: 255.9 kB / 1.539 GB, free: 9.941 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.6272, allocations: 308 kB / 1.539 GB, free: 9.617 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6272, allocations: 0 / 1.539 GB, free: 9.617 MB / 1.232 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006891/0.6279, allocations: 359.7 kB / 1.54 GB, free: 9.262 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.628, allocations: 9.781 kB / 1.54 GB, free: 9.254 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.628, allocations: 4 kB / 1.54 GB, free: 9.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.628, allocations: 4 kB / 1.54 GB, free: 9.246 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.6283, allocations: 59.91 kB / 1.54 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.6283, allocations: 4 kB / 1.54 GB, free: 9.184 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.6285, allocations: 35.83 kB / 1.54 GB, free: 9.148 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.6285, allocations: 8 kB / 1.54 GB, free: 9.141 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.0002366/0.6288, allocations: 170.8 kB / 1.54 GB, free: 8.965 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.6288, allocations: 31.81 kB / 1.54 GB, free: 8.934 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007781/0.6296, allocations: 368.5 kB / 1.54 GB, free: 8.57 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.6296, allocations: 0 / 1.54 GB, free: 8.57 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6296, allocations: 3.938 kB / 1.541 GB, free: 8.566 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6296, allocations: 3.984 kB / 1.541 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.6312, allocations: 0.8237 MB / 1.541 GB, free: 7.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6312, allocations: 4 kB / 1.541 GB, free: 7.676 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.6314, allocations: 43.92 kB / 1.541 GB, free: 7.633 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6314, allocations: 4 kB / 1.541 GB, free: 7.629 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.6315, allocations: 12.03 kB / 1.541 GB, free: 7.617 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.6315, allocations: 11.94 kB / 1.541 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6315, allocations: 3.984 kB / 1.541 GB, free: 7.602 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.6325, allocations: 0.6204 MB / 1.542 GB, free: 6.945 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.6327, allocations: 59.75 kB / 1.542 GB, free: 6.887 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.6327, allocations: 15.92 kB / 1.542 GB, free: 6.871 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.6329, allocations: 12 kB / 1.542 GB, free: 6.859 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.633, allocations: 19.88 kB / 1.542 GB, free: 6.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.633, allocations: 12 kB / 1.542 GB, free: 6.828 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002266/0.6333, allocations: 195.1 kB / 1.542 GB, free: 6.641 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6333, allocations: 0 / 1.542 GB, free: 6.641 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005384/0.6338, allocations: 127.6 kB / 1.542 GB, free: 6.516 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.0003271/0.6341, allocations: 163.1 kB / 1.543 GB, free: 6.348 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006232/0.6347, allocations: 277.1 kB / 1.543 GB, free: 6.078 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6347, allocations: 0 / 1.543 GB, free: 6.078 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.635, allocations: 152.7 kB / 1.543 GB, free: 5.93 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.6358, allocations: 129.1 kB / 1.543 GB, free: 5.805 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.6372, allocations: 0.8351 MB / 1.544 GB, free: 4.914 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.6375, allocations: 223.4 kB / 1.544 GB, free: 4.676 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.6376, allocations: 35.44 kB / 1.544 GB, free: 4.641 MB / 1.232 GB Notification: Performance of SimCode: time 3.01e-07/0.6376, allocations: 0 / 1.544 GB, free: 4.641 MB / 1.232 GB Notification: Performance of Templates: time 0.01042/0.648, allocations: 5.898 MB / 1.55 GB, free: 14.79 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/jenkins1/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: 12.702457102946937]