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.001744/0.001744, 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.001571/0.001571, allocations: 212.9 kB / 22.25 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.595/1.595, 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 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.44/3.44, allocations: 0.4892 GB / 0.7943 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.002118/0.002118, allocations: 66.08 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4166, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2233/0.6399, allocations: 142.2 MB / 1.464 GB, free: 3.102 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007961/0.6479, allocations: 4.191 MB / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.6483, allocations: 11.88 kB / 1.469 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.6489, allocations: 131 kB / 1.469 GB, free: 14.76 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.6502, allocations: 334.5 kB / 1.469 GB, free: 14.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.6512, allocations: 286.3 kB / 1.469 GB, free: 14.16 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.6521, allocations: 0.5612 MB / 1.47 GB, free: 13.59 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.6525, allocations: 161.5 kB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.6544, allocations: 0.6772 MB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.6547, allocations: 179.2 kB / 1.471 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.6548, allocations: 16 kB / 1.471 GB, free: 12.56 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.655, allocations: 79.92 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.6552, allocations: 95.72 kB / 1.471 GB, free: 12.39 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.6553, allocations: 99.53 kB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.656, allocations: 306.8 kB / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.656, allocations: 4 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.833e-06/0.656, allocations: 0 / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.656, allocations: 0 / 1.471 GB, free: 11.98 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.001026/0.657, allocations: 472.8 kB / 1.472 GB, free: 11.49 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6571, allocations: 8.031 kB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.6571, allocations: 31.8 kB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.6576, allocations: 229.6 kB / 1.472 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.6576, allocations: 12 kB / 1.472 GB, free: 11.19 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.6577, allocations: 20 kB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.6582, allocations: 269.5 kB / 1.472 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6582, allocations: 0 / 1.472 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.6582, allocations: 15.92 kB / 1.472 GB, free: 10.86 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.6582, allocations: 4 kB / 1.472 GB, free: 10.85 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.6586, allocations: 156.7 kB / 1.473 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.6601, allocations: 1.227 MB / 1.474 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.6605, allocations: 175.7 kB / 1.474 GB, free: 9.172 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.6606, allocations: 93.11 kB / 1.474 GB, free: 9.062 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.661, allocations: 39.94 kB / 1.474 GB, free: 9.023 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.661, allocations: 46.41 kB / 1.474 GB, free: 8.969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.661, allocations: 0 / 1.474 GB, free: 8.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006408/0.6616, allocations: 209.6 kB / 1.474 GB, free: 8.758 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.6618, allocations: 191.9 kB / 1.474 GB, free: 8.527 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.662, allocations: 195.9 kB / 1.475 GB, free: 8.328 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.6621, allocations: 29.7 kB / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.6622, allocations: 168.1 kB / 1.475 GB, free: 8.121 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.6623, allocations: 35.77 kB / 1.475 GB, free: 8.086 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.6623, allocations: 37.7 kB / 1.475 GB, free: 8.043 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6625, allocations: 331.1 kB / 1.475 GB, free: 7.711 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.6626, allocations: 43.95 kB / 1.475 GB, free: 7.668 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.6629, allocations: 224.5 kB / 1.475 GB, free: 7.398 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.6632, allocations: 166.9 kB / 1.476 GB, free: 7.211 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6632, allocations: 0 / 1.476 GB, free: 7.211 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004974/0.6637, allocations: 181.3 kB / 1.476 GB, free: 7.027 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6637, allocations: 7.984 kB / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.6637, allocations: 8.156 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.6638, allocations: 8 kB / 1.476 GB, free: 7.004 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.6639, allocations: 27.98 kB / 1.476 GB, free: 6.977 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.6639, allocations: 3.938 kB / 1.476 GB, free: 6.973 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.6641, allocations: 23.88 kB / 1.476 GB, free: 6.949 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.6641, allocations: 8 kB / 1.476 GB, free: 6.941 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.0001796/0.6643, allocations: 141.8 kB / 1.476 GB, free: 6.793 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.6644, allocations: 27.89 kB / 1.476 GB, free: 6.766 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.6647, allocations: 134.5 kB / 1.476 GB, free: 6.629 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6647, allocations: 0 / 1.476 GB, free: 6.629 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6647, allocations: 4 kB / 1.476 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6647, allocations: 0 / 1.476 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.6657, allocations: 0.6946 MB / 1.477 GB, free: 5.875 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6657, allocations: 3.984 kB / 1.477 GB, free: 5.871 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.6658, allocations: 23.92 kB / 1.477 GB, free: 5.848 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.6658, allocations: 4 kB / 1.477 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.6658, allocations: 16.22 kB / 1.477 GB, free: 5.828 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6658, allocations: 0 / 1.477 GB, free: 5.828 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6658, allocations: 0 / 1.477 GB, free: 5.828 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.6664, allocations: 335.5 kB / 1.477 GB, free: 5.469 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.6665, allocations: 31.88 kB / 1.477 GB, free: 5.438 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.6665, allocations: 7.984 kB / 1.477 GB, free: 5.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.6666, allocations: 8 kB / 1.477 GB, free: 5.422 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.6667, allocations: 15.98 kB / 1.477 GB, free: 5.406 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.6667, allocations: 7.984 kB / 1.477 GB, free: 5.398 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001355/0.6668, allocations: 152.6 kB / 1.477 GB, free: 5.25 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6668, allocations: 0 / 1.477 GB, free: 5.25 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003719/0.6672, allocations: 63.83 kB / 1.477 GB, free: 5.188 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.0002284/0.6674, allocations: 123.1 kB / 1.478 GB, free: 5.059 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.6678, allocations: 120 kB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6678, allocations: 0 / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.668, allocations: 63.83 kB / 1.478 GB, free: 4.879 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.6685, allocations: 57.12 kB / 1.478 GB, free: 4.828 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6696, allocations: 480.5 kB / 1.478 GB, free: 4.312 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.6698, allocations: 145.8 kB / 1.478 GB, free: 4.152 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.67, allocations: 49.42 kB / 1.478 GB, free: 4.105 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.67, allocations: 15.44 kB / 1.478 GB, free: 4.09 MB / 1.17 GB Notification: Performance of SimCode: time 5.31e-07/0.67, allocations: 0 / 1.478 GB, free: 4.09 MB / 1.17 GB Notification: Performance of Templates: time 0.008445/0.6784, allocations: 3.024 MB / 1.481 GB, free: 1.129 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/jenkins/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: 9.917778404429555]