Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.00155/0.00155, allocations: 117 kB / 17.08 MB, free: 5.961 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.001569/0.001569, allocations: 194.2 kB / 20.02 MB, free: 3.039 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.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.9349, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2088/1.144, allocations: 167.6 MB / 1.426 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008671/1.152, allocations: 6.532 MB / 1.433 GB, free: 5.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005853/1.153, allocations: 20.5 kB / 1.433 GB, free: 5.738 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005962/1.154, allocations: 172.9 kB / 1.433 GB, free: 5.586 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/1.156, allocations: 0.8338 MB / 1.434 GB, free: 4.953 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009679/1.157, allocations: 335 kB / 1.434 GB, free: 4.707 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009108/1.158, allocations: 0.7067 MB / 1.435 GB, free: 4.297 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/1.159, allocations: 275.5 kB / 1.435 GB, free: 4.137 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/1.16, allocations: 0.6949 MB / 1.436 GB, free: 3.695 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/1.161, allocations: 261.1 kB / 1.436 GB, free: 3.547 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/1.161, allocations: 22.59 kB / 1.436 GB, free: 3.547 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/1.161, allocations: 337.5 kB / 1.436 GB, free: 3.371 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/1.161, allocations: 109.9 kB / 1.436 GB, free: 3.297 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/1.162, allocations: 162.8 kB / 1.436 GB, free: 3.195 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007351/1.162, allocations: 468.3 kB / 1.437 GB, free: 2.902 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.162, allocations: 0 / 1.437 GB, free: 2.902 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.132e-06/1.162, allocations: 0 / 1.437 GB, free: 2.902 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.162, allocations: 1.062 kB / 1.437 GB, free: 2.902 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009551/1.163, allocations: 0.632 MB / 1.437 GB, free: 2.328 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.163, allocations: 9.438 kB / 1.437 GB, free: 2.328 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/1.164, allocations: 63.48 kB / 1.438 GB, free: 2.297 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/1.164, allocations: 331.8 kB / 1.438 GB, free: 1.984 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/1.164, allocations: 19.34 kB / 1.438 GB, free: 1.977 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/1.164, allocations: 25.69 kB / 1.438 GB, free: 1.969 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/1.165, allocations: 325 kB / 1.438 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.165, allocations: 1.406 kB / 1.438 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/1.165, allocations: 10.94 kB / 1.438 GB, free: 1.734 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/1.165, allocations: 5.5 kB / 1.438 GB, free: 1.734 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/1.165, allocations: 197.2 kB / 1.438 GB, free: 1.645 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/1.167, allocations: 1.536 MB / 1.44 GB, free: 196 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/1.167, allocations: 126.3 kB / 1.44 GB, free: 116 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.168, allocations: 87.03 kB / 1.44 GB, free: 72 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/1.168, allocations: 307.3 kB / 1.44 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.168, allocations: 31.66 kB / 1.44 GB, free: 15.72 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.168, allocations: 0 / 1.44 GB, free: 15.72 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007839/1.169, allocations: 270.3 kB / 1.441 GB, free: 15.58 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.169, allocations: 57.53 kB / 1.441 GB, free: 15.51 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/1.169, allocations: 309.2 kB / 1.441 GB, free: 15.31 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/1.17, allocations: 31.02 kB / 1.441 GB, free: 15.28 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.17, allocations: 181.4 kB / 1.441 GB, free: 15.11 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/1.17, allocations: 52.59 kB / 1.441 GB, free: 15.07 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/1.17, allocations: 40.83 kB / 1.441 GB, free: 15.04 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.17, allocations: 337.3 kB / 1.442 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/1.17, allocations: 62.11 kB / 1.442 GB, free: 14.67 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.17, allocations: 109.2 kB / 1.442 GB, free: 14.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/1.171, allocations: 181 kB / 1.442 GB, free: 14.46 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.171, allocations: 7.875 kB / 1.442 GB, free: 14.46 MB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004457/1.171, allocations: 222.2 kB / 1.442 GB, free: 14.33 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.171, allocations: 11.11 kB / 1.442 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.171, allocations: 1.406 kB / 1.442 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.171, allocations: 1.562 kB / 1.442 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/1.171, allocations: 34.02 kB / 1.442 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.171, allocations: 2.875 kB / 1.442 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/1.172, allocations: 29.89 kB / 1.442 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/1.172, allocations: 5.844 kB / 1.442 GB, free: 14.3 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001614/1.172, allocations: 158.9 kB / 1.442 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/1.172, allocations: 25.61 kB / 1.442 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/1.172, allocations: 216.1 kB / 1.443 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.172, allocations: 1.375 kB / 1.443 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.172, allocations: 0 / 1.443 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.172, allocations: 0 / 1.443 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.173, allocations: 0.6851 MB / 1.443 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.173, allocations: 1.375 kB / 1.443 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.174, allocations: 26.2 kB / 1.443 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.174, allocations: 10.73 kB / 1.443 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.174, allocations: 6.75 kB / 1.443 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.174, allocations: 6.688 kB / 1.443 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.174, allocations: 6.688 kB / 1.443 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/1.174, allocations: 328.3 kB / 1.444 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/1.174, allocations: 127.2 kB / 1.444 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/1.174, allocations: 3.25 kB / 1.444 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.174, allocations: 17.2 kB / 1.444 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/1.174, allocations: 13.88 kB / 1.444 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.175, allocations: 13.89 kB / 1.444 GB, free: 12.97 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002304/1.175, allocations: 220.9 kB / 1.444 GB, free: 12.83 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.11e-07/1.175, allocations: 0 / 1.444 GB, free: 12.83 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003893/1.175, allocations: 70.61 kB / 1.444 GB, free: 12.82 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0004161/1.176, allocations: 154 kB / 1.444 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004166/1.176, allocations: 157.9 kB / 1.444 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.176, allocations: 1.188 kB / 1.444 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.176, allocations: 87.97 kB / 1.445 GB, free: 12.58 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/1.177, allocations: 156.2 kB / 1.445 GB, free: 12.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/1.178, allocations: 0.5662 MB / 1.445 GB, free: 12.07 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/1.178, allocations: 0.7853 MB / 1.446 GB, free: 11.32 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/1.179, allocations: 27.69 kB / 1.446 GB, free: 11.31 MB / 1.139 GB Notification: Performance of SimCode: time 2.9e-07/1.179, allocations: 4 kB / 1.446 GB, free: 11.31 MB / 1.139 GB Notification: Performance of Templates: time 0.008202/1.187, allocations: 4.577 MB / 1.451 GB, free: 7.086 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.197660274105147]