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.00168/0.00168, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002052/0.002052, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.869/2.869, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 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.002042/0.002042, allocations: 71.88 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.952, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2114/1.163, allocations: 158.6 MB / 1.341 GB, free: 7.266 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009834/1.173, allocations: 7.204 MB / 1.348 GB, free: 44 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/1.174, allocations: 27.81 kB / 1.349 GB, free: 16 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007689/1.175, allocations: 250.2 kB / 1.349 GB, free: 15.77 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/1.178, allocations: 1.221 MB / 1.35 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/1.18, allocations: 0.7589 MB / 1.351 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001347/1.181, allocations: 1.08 MB / 1.352 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/1.181, allocations: 322 kB / 1.352 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/1.184, allocations: 1.024 MB / 1.353 GB, free: 11.36 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006718/1.185, allocations: 426.4 kB / 1.353 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/1.185, allocations: 36 kB / 1.353 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/1.187, allocations: 0.7754 MB / 1.354 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/1.187, allocations: 163.5 kB / 1.354 GB, free: 9.973 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002789/1.187, allocations: 211 kB / 1.355 GB, free: 9.766 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/1.188, allocations: 0.9109 MB / 1.356 GB, free: 8.855 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.188, allocations: 4 kB / 1.356 GB, free: 8.852 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.894e-06/1.188, allocations: 0 / 1.356 GB, free: 8.852 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.746e-06/1.188, allocations: 0 / 1.356 GB, free: 8.852 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.001182/1.19, allocations: 0.7458 MB / 1.356 GB, free: 8.07 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.19, allocations: 8.031 kB / 1.356 GB, free: 8.062 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/1.191, allocations: 151.5 kB / 1.356 GB, free: 7.914 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/1.191, allocations: 348.4 kB / 1.357 GB, free: 7.551 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/1.191, allocations: 29 kB / 1.357 GB, free: 7.523 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/1.191, allocations: 36 kB / 1.357 GB, free: 7.488 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/1.192, allocations: 446.4 kB / 1.357 GB, free: 7.031 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.192, allocations: 4 kB / 1.357 GB, free: 7.027 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/1.192, allocations: 19.94 kB / 1.357 GB, free: 7.008 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/1.192, allocations: 8 kB / 1.357 GB, free: 7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006268/1.193, allocations: 319.8 kB / 1.358 GB, free: 6.684 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/1.195, allocations: 1.403 MB / 1.359 GB, free: 5.23 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/1.195, allocations: 226.4 kB / 1.359 GB, free: 5 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/1.195, allocations: 133.2 kB / 1.359 GB, free: 4.867 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/1.196, allocations: 87.77 kB / 1.359 GB, free: 4.781 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.196, allocations: 38.56 kB / 1.359 GB, free: 4.734 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/1.196, allocations: 0 / 1.359 GB, free: 4.734 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001055/1.197, allocations: 449.1 kB / 1.36 GB, free: 4.289 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.197, allocations: 55.41 kB / 1.36 GB, free: 4.223 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/1.197, allocations: 280.5 kB / 1.36 GB, free: 3.934 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/1.197, allocations: 29.7 kB / 1.36 GB, free: 3.898 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/1.198, allocations: 244.2 kB / 1.36 GB, free: 3.652 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/1.198, allocations: 87.23 kB / 1.36 GB, free: 3.566 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.198, allocations: 65.61 kB / 1.361 GB, free: 3.496 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.198, allocations: 334.8 kB / 1.361 GB, free: 3.16 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/1.198, allocations: 115.9 kB / 1.361 GB, free: 3.047 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/1.198, allocations: 259.9 kB / 1.361 GB, free: 2.75 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/1.199, allocations: 309.4 kB / 1.362 GB, free: 2.426 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.199, allocations: 0 / 1.362 GB, free: 2.426 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006487/1.2, allocations: 351.9 kB / 1.362 GB, free: 2.078 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.2, allocations: 10.66 kB / 1.362 GB, free: 2.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/1.2, allocations: 3.938 kB / 1.362 GB, free: 2.066 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.2, allocations: 4 kB / 1.362 GB, free: 2.062 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/1.2, allocations: 60.19 kB / 1.362 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.2, allocations: 15.86 kB / 1.362 GB, free: 1.988 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/1.2, allocations: 27.83 kB / 1.362 GB, free: 1.961 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/1.2, allocations: 23.95 kB / 1.362 GB, free: 1.938 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.0001947/1.2, allocations: 169.7 kB / 1.362 GB, free: 1.762 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/1.201, allocations: 31.81 kB / 1.362 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/1.201, allocations: 356.6 kB / 1.363 GB, free: 1.379 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.201, allocations: 8 kB / 1.363 GB, free: 1.371 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.201, allocations: 0 / 1.363 GB, free: 1.371 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.201, allocations: 0 / 1.363 GB, free: 1.371 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/1.203, allocations: 0.8275 MB / 1.363 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.203, allocations: 4 kB / 1.363 GB, free: 492 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/1.203, allocations: 52.19 kB / 1.363 GB, free: 440 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.203, allocations: 0 / 1.363 GB, free: 440 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.203, allocations: 4 kB / 1.363 GB, free: 436 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.862e-05/1.203, allocations: 11.88 kB / 1.363 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.203, allocations: 4 kB / 1.363 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.204, allocations: 0.622 MB / 1.364 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/1.204, allocations: 55.72 kB / 1.364 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/1.204, allocations: 16 kB / 1.364 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/1.204, allocations: 11.98 kB / 1.364 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/1.204, allocations: 23.88 kB / 1.364 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/1.204, allocations: 8 kB / 1.364 GB, free: 15.64 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001949/1.205, allocations: 199.1 kB / 1.364 GB, free: 15.45 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.205, allocations: 3.938 kB / 1.364 GB, free: 15.44 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004776/1.205, allocations: 123.7 kB / 1.364 GB, free: 15.32 MB / 1.217 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.0002787/1.205, allocations: 147.1 kB / 1.365 GB, free: 15.17 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006142/1.206, allocations: 289.7 kB / 1.365 GB, free: 14.89 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.206, allocations: 0 / 1.365 GB, free: 14.89 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/1.206, allocations: 135.8 kB / 1.365 GB, free: 14.75 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/1.207, allocations: 148.6 kB / 1.365 GB, free: 14.61 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/1.208, allocations: 0.792 MB / 1.366 GB, free: 13.77 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.209, allocations: 235.4 kB / 1.366 GB, free: 13.51 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002367/1.209, allocations: 86.84 kB / 1.366 GB, free: 13.43 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/1.209, allocations: 28.5 kB / 1.366 GB, free: 13.4 MB / 1.217 GB Notification: Performance of SimCode: time 4.31e-07/1.209, allocations: 0 / 1.366 GB, free: 13.4 MB / 1.217 GB Notification: Performance of Templates: time 0.01156/1.221, allocations: 5.51 MB / 1.372 GB, free: 8.027 MB / 1.217 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 -s ida -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: 9.477455880958587]