Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001883/0.001883, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.00203/0.00203, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.874/2.874, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.125e-05, allocations: 7.562 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.255/0.2551, allocations: 157.4 MB / 0.9401 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007856/0.2629, allocations: 4.665 MB / 0.9446 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.2633, allocations: 15.88 kB / 0.9446 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.2639, allocations: 135 kB / 0.9448 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.265, allocations: 350.1 kB / 0.9451 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.266, allocations: 307.2 kB / 0.9454 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0008801/0.2668, allocations: 0.5688 MB / 0.9459 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.2672, allocations: 161.5 kB / 0.9461 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.2686, allocations: 0.5255 MB / 0.9466 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.2691, allocations: 183.5 kB / 0.9468 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.2691, allocations: 16 kB / 0.9468 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.2695, allocations: 79.92 kB / 0.9469 GB, free: 7.957 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.2697, allocations: 91.72 kB / 0.947 GB, free: 7.867 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.2698, allocations: 87.77 kB / 0.9471 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.2705, allocations: 307 kB / 0.9473 GB, free: 7.48 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2705, allocations: 4 kB / 0.9473 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2705, allocations: 4 kB / 0.9474 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.2705, allocations: 0 / 0.9474 GB, free: 7.473 MB / 0.9011 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.001131/0.2716, allocations: 0.5652 MB / 0.9479 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2717, allocations: 8.031 kB / 0.9479 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2718, allocations: 43.75 kB / 0.948 GB, free: 6.82 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.2724, allocations: 248.4 kB / 0.9482 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.2724, allocations: 16 kB / 0.9482 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.2724, allocations: 20 kB / 0.9482 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.273, allocations: 273.9 kB / 0.9485 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.273, allocations: 3.938 kB / 0.9485 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.273, allocations: 4 kB / 0.9485 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.273, allocations: 8 kB / 0.9485 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.2734, allocations: 115.7 kB / 0.9486 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.276, allocations: 1.731 MB / 0.9503 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.2764, allocations: 218.6 kB / 0.9505 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2765, allocations: 90.05 kB / 0.9506 GB, free: 3.848 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.2768, allocations: 35.95 kB / 0.9506 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.2769, allocations: 41.39 kB / 0.9507 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.2769, allocations: 0 / 0.9507 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of matching and sorting (n=10): time 0.0006034/0.2775, allocations: 161.4 kB / 0.9508 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.2776, allocations: 192.4 kB / 0.951 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.278, allocations: 286.8 kB / 0.9513 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.278, allocations: 29.7 kB / 0.9513 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.2782, allocations: 207 kB / 0.9515 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.2783, allocations: 43.69 kB / 0.9515 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.2783, allocations: 47.31 kB / 0.9516 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002985/0.2786, allocations: 0.5079 MB / 0.9521 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2787, allocations: 27.98 kB / 0.9521 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.279, allocations: 235.3 kB / 0.9523 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.2793, allocations: 149.3 kB / 0.9525 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.2793, allocations: 4 kB / 0.9525 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003566/0.2797, allocations: 157.4 kB / 0.9526 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2797, allocations: 8.219 kB / 0.9526 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2797, allocations: 4 kB / 0.9526 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2797, allocations: 0 / 0.9526 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2799, allocations: 31.92 kB / 0.9527 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2799, allocations: 11.92 kB / 0.9527 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.28, allocations: 19.88 kB / 0.9527 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2801, allocations: 8 kB / 0.9527 GB, free: 1.469 MB / 0.9011 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.0001808/0.2802, allocations: 176.6 kB / 0.9529 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2804, allocations: 31.77 kB / 0.9529 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.2807, allocations: 111.1 kB / 0.953 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2807, allocations: 4 kB / 0.953 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.2807, allocations: 7.938 kB / 0.953 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2807, allocations: 0 / 0.953 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2818, allocations: 0.9456 MB / 0.954 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2818, allocations: 0 / 0.954 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.2819, allocations: 19.94 kB / 0.954 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.282, allocations: 4 kB / 0.954 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.282, allocations: 12.16 kB / 0.954 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.282, allocations: 3.984 kB / 0.954 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.282, allocations: 4 kB / 0.954 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.2825, allocations: 350.1 kB / 0.9543 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.2826, allocations: 27.83 kB / 0.9544 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.2826, allocations: 4 kB / 0.9544 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2827, allocations: 8 kB / 0.9544 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.2828, allocations: 7.984 kB / 0.9544 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.2828, allocations: 4 kB / 0.9544 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001896/0.283, allocations: 199.5 kB / 0.9546 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.283, allocations: 0 / 0.9546 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003663/0.2833, allocations: 63.83 kB / 0.9546 GB, free: 15.38 MB / 0.9167 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.0002822/0.2836, allocations: 123.2 kB / 0.9548 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.284, allocations: 107.5 kB / 0.9549 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.284, allocations: 448 / 0.9549 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.2841, allocations: 59.59 kB / 0.9549 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.2846, allocations: 69.94 kB / 0.955 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.2856, allocations: 466 kB / 0.9554 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2858, allocations: 149.8 kB / 0.9556 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.286, allocations: 29.45 kB / 0.9556 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.286, allocations: 20.5 kB / 0.9556 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.286, allocations: 4 kB / 0.9556 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of Templates: time 0.008254/0.2943, allocations: 2.731 MB / 0.9583 GB, free: 11.64 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.424366141087376]