Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.002202/0.002202, 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.002504/0.002504, allocations: 219.1 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.195/3.195, allocations: 0.4892 GB / 0.7951 GB, free: 35.51 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [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.00222/0.00222, allocations: 66.3 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3814, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2162/0.5976, allocations: 142.2 MB / 1.465 GB, free: 3.078 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006841/0.6044, allocations: 4.2 MB / 1.469 GB, free: 14.87 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.6049, allocations: 15.88 kB / 1.469 GB, free: 14.86 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.6055, allocations: 123.1 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.6065, allocations: 338.5 kB / 1.47 GB, free: 14.4 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.6074, allocations: 282.7 kB / 1.47 GB, free: 14.13 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007796/0.6082, allocations: 0.5651 MB / 1.471 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.6085, allocations: 165.4 kB / 1.471 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.6103, allocations: 0.6733 MB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.6106, allocations: 187.3 kB / 1.472 GB, free: 12.54 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.6107, allocations: 16 kB / 1.472 GB, free: 12.52 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.6109, allocations: 79.88 kB / 1.472 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.611, allocations: 99.7 kB / 1.472 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.6112, allocations: 95.53 kB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.6117, allocations: 302.8 kB / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6117, allocations: 0 / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6117, allocations: 4 kB / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.6117, allocations: 0 / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009757/0.6126, allocations: 476.7 kB / 1.473 GB, free: 11.45 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6127, allocations: 8.031 kB / 1.473 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.214e-05/0.6128, allocations: 27.8 kB / 1.473 GB, free: 11.42 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.6132, allocations: 233.6 kB / 1.473 GB, free: 11.16 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.6132, allocations: 16 kB / 1.473 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.6133, allocations: 16 kB / 1.473 GB, free: 11.13 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.6138, allocations: 265.7 kB / 1.473 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.6138, allocations: 3.938 kB / 1.473 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.6138, allocations: 11.94 kB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6138, allocations: 4 kB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.6142, allocations: 151.8 kB / 1.473 GB, free: 10.67 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.6155, allocations: 1.227 MB / 1.474 GB, free: 9.367 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.6159, allocations: 175.7 kB / 1.475 GB, free: 9.141 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.616, allocations: 93.05 kB / 1.475 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.6164, allocations: 43.94 kB / 1.475 GB, free: 8.988 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.6164, allocations: 34.56 kB / 1.475 GB, free: 8.945 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.6164, allocations: 0 / 1.475 GB, free: 8.945 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.000625/0.617, allocations: 213.7 kB / 1.475 GB, free: 8.73 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.6172, allocations: 183.9 kB / 1.475 GB, free: 8.508 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.6174, allocations: 203.8 kB / 1.475 GB, free: 8.301 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.6174, allocations: 29.64 kB / 1.475 GB, free: 8.266 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.6176, allocations: 176.2 kB / 1.476 GB, free: 8.086 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.6176, allocations: 31.7 kB / 1.476 GB, free: 8.055 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.6177, allocations: 33.7 kB / 1.476 GB, free: 8.016 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6178, allocations: 326.8 kB / 1.476 GB, free: 7.688 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.6179, allocations: 52.11 kB / 1.476 GB, free: 7.637 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.6182, allocations: 220.9 kB / 1.476 GB, free: 7.371 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.6185, allocations: 162.9 kB / 1.476 GB, free: 7.188 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6185, allocations: 0 / 1.476 GB, free: 7.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003729/0.6189, allocations: 185.3 kB / 1.477 GB, free: 7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6189, allocations: 4 kB / 1.477 GB, free: 6.996 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6189, allocations: 11.88 kB / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.6189, allocations: 224 / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.6191, allocations: 31.98 kB / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6191, allocations: 4 kB / 1.477 GB, free: 6.949 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.6192, allocations: 23.88 kB / 1.477 GB, free: 6.926 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.6192, allocations: 8 kB / 1.477 GB, free: 6.918 MB / 1.17 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 (15): * Single equations (assignments): 15 * 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.0001648/0.6194, allocations: 149.8 kB / 1.477 GB, free: 6.762 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6195, allocations: 27.84 kB / 1.477 GB, free: 6.734 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.6199, allocations: 126.6 kB / 1.477 GB, free: 6.605 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6199, allocations: 8.031 kB / 1.477 GB, free: 6.598 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6199, allocations: 4 kB / 1.477 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6199, allocations: 0 / 1.477 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.6207, allocations: 0.6946 MB / 1.478 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.6208, allocations: 7.984 kB / 1.478 GB, free: 5.836 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.6209, allocations: 27.92 kB / 1.478 GB, free: 5.809 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.6209, allocations: 4 kB / 1.478 GB, free: 5.805 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.6209, allocations: 0 / 1.478 GB, free: 5.805 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6209, allocations: 8.156 kB / 1.478 GB, free: 5.797 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6209, allocations: 128 / 1.478 GB, free: 5.797 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.6215, allocations: 339.5 kB / 1.478 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.6215, allocations: 27.84 kB / 1.478 GB, free: 5.406 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.6216, allocations: 8 kB / 1.478 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6217, allocations: 4 kB / 1.478 GB, free: 5.395 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.6217, allocations: 15.92 kB / 1.478 GB, free: 5.379 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6218, allocations: 12.14 kB / 1.478 GB, free: 5.367 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001305/0.6219, allocations: 152.5 kB / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6219, allocations: 0 / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003808/0.6223, allocations: 63.83 kB / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0002292/0.6225, allocations: 119.2 kB / 1.478 GB, free: 5.031 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.6229, allocations: 120.2 kB / 1.478 GB, free: 4.914 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6229, allocations: 4.062 kB / 1.478 GB, free: 4.91 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.623, allocations: 59.83 kB / 1.479 GB, free: 4.852 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.6235, allocations: 55.12 kB / 1.479 GB, free: 4.801 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.6246, allocations: 0.5101 MB / 1.479 GB, free: 4.238 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.6248, allocations: 145.8 kB / 1.479 GB, free: 4.078 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.6248, allocations: 15.44 kB / 1.479 GB, free: 4.062 MB / 1.17 GB Notification: Performance of SimCode: time 7.82e-07/0.6248, allocations: 4 kB / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of Templates: time 0.006391/0.6312, allocations: 3.107 MB / 1.482 GB, free: 0.9688 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.239673417061567]