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.001428/0.001428, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.001564/0.001564, allocations: 163.6 kB / 22.46 MB, free: 5.359 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.517/1.517, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.066/3.066, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.782e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2369/0.237, allocations: 142.2 MB / 1.12 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006636/0.2436, allocations: 4.172 MB / 1.124 GB, free: 9.055 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.2441, allocations: 15.88 kB / 1.124 GB, free: 9.039 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.2447, allocations: 134.9 kB / 1.125 GB, free: 8.906 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.2458, allocations: 346.1 kB / 1.125 GB, free: 8.566 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.2468, allocations: 322.3 kB / 1.125 GB, free: 8.254 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.2476, allocations: 0.5571 MB / 1.126 GB, free: 7.695 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.248, allocations: 157.4 kB / 1.126 GB, free: 7.543 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.25, allocations: 0.7394 MB / 1.127 GB, free: 6.801 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.2503, allocations: 171.5 kB / 1.127 GB, free: 6.633 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.2504, allocations: 16 kB / 1.127 GB, free: 6.617 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.2506, allocations: 75.94 kB / 1.127 GB, free: 6.543 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2507, allocations: 99.7 kB / 1.127 GB, free: 6.445 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2508, allocations: 83.77 kB / 1.127 GB, free: 6.363 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.2513, allocations: 315 kB / 1.127 GB, free: 6.055 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2513, allocations: 0 / 1.127 GB, free: 6.055 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2513, allocations: 0 / 1.127 GB, free: 6.055 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.2513, allocations: 0 / 1.127 GB, free: 6.055 MB / 1.076 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.0009457/0.2523, allocations: 468.8 kB / 1.128 GB, free: 5.566 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2523, allocations: 12.03 kB / 1.128 GB, free: 5.555 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.197e-05/0.2524, allocations: 31.75 kB / 1.128 GB, free: 5.523 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.2529, allocations: 221.8 kB / 1.128 GB, free: 5.281 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2529, allocations: 12 kB / 1.128 GB, free: 5.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.2529, allocations: 20 kB / 1.128 GB, free: 5.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.2535, allocations: 265.6 kB / 1.128 GB, free: 4.953 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2535, allocations: 11.94 kB / 1.128 GB, free: 4.941 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2535, allocations: 4 kB / 1.128 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.2535, allocations: 4 kB / 1.128 GB, free: 4.934 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2539, allocations: 151.7 kB / 1.128 GB, free: 4.785 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2554, allocations: 1.235 MB / 1.13 GB, free: 3.477 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.2559, allocations: 183.7 kB / 1.13 GB, free: 3.242 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.2561, allocations: 89.05 kB / 1.13 GB, free: 3.137 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.2564, allocations: 47.94 kB / 1.13 GB, free: 3.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.2565, allocations: 38.56 kB / 1.13 GB, free: 3.043 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.2565, allocations: 3.938 kB / 1.13 GB, free: 3.039 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0007584/0.2572, allocations: 193.4 kB / 1.13 GB, free: 2.844 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.2574, allocations: 195.7 kB / 1.13 GB, free: 2.609 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.2576, allocations: 203.8 kB / 1.131 GB, free: 2.402 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2576, allocations: 29.7 kB / 1.131 GB, free: 2.367 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2578, allocations: 172.2 kB / 1.131 GB, free: 2.195 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.2579, allocations: 35.69 kB / 1.131 GB, free: 2.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.2579, allocations: 33.72 kB / 1.131 GB, free: 2.121 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2581, allocations: 330.8 kB / 1.131 GB, free: 1.789 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.2582, allocations: 43.97 kB / 1.131 GB, free: 1.746 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.2585, allocations: 218.5 kB / 1.131 GB, free: 1.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.2589, allocations: 158.6 kB / 1.132 GB, free: 1.301 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2589, allocations: 0 / 1.132 GB, free: 1.301 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003953/0.2593, allocations: 189.4 kB / 1.132 GB, free: 1.109 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2593, allocations: 8 kB / 1.132 GB, free: 1.102 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2593, allocations: 0 / 1.132 GB, free: 1.102 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2593, allocations: 4 kB / 1.132 GB, free: 1.098 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2595, allocations: 27.98 kB / 1.132 GB, free: 1.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2595, allocations: 7.938 kB / 1.132 GB, free: 1.062 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2596, allocations: 27.81 kB / 1.132 GB, free: 1.035 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.2596, allocations: 4 kB / 1.132 GB, free: 1.031 MB / 1.076 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.000164/0.2598, allocations: 158.4 kB / 1.132 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2599, allocations: 15.91 kB / 1.132 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.2603, allocations: 127 kB / 1.132 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2603, allocations: 4 kB / 1.132 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2603, allocations: 3.938 kB / 1.132 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2603, allocations: 4 kB / 1.132 GB, free: 0.707 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7363/0.9966, allocations: 0.6947 MB / 1.133 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.9966, allocations: 2.875 kB / 1.133 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.9968, allocations: 29.22 kB / 1.133 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.9968, allocations: 2.719 kB / 1.133 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.9969, allocations: 2.875 kB / 1.133 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.9969, allocations: 2.844 kB / 1.133 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9969, allocations: 0 / 1.133 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.9975, allocations: 331.9 kB / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.9975, allocations: 34.17 kB / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.9976, allocations: 4.609 kB / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.9977, allocations: 14.08 kB / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.9978, allocations: 6.266 kB / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.9978, allocations: 6.656 kB / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001884/0.998, allocations: 144.5 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.998, allocations: 0 / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005506/0.9985, allocations: 62.98 kB / 1.133 GB, free: 196.8 MB / 1.076 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.0002927/0.9988, allocations: 121.8 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.9992, allocations: 126.4 kB / 1.134 GB, free: 196.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9992, allocations: 2.219 kB / 1.134 GB, free: 196.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.9993, allocations: 56.72 kB / 1.134 GB, free: 196.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.9999, allocations: 79.58 kB / 1.134 GB, free: 196.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/1.001, allocations: 449.1 kB / 1.134 GB, free: 196.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/1.001, allocations: 150.6 kB / 1.134 GB, free: 196.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.104e-05/1.001, allocations: 32.95 kB / 1.134 GB, free: 196.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/1.001, allocations: 27.06 kB / 1.134 GB, free: 196.4 MB / 1.076 GB Notification: Performance of SimCode: time 6.81e-07/1.001, allocations: 0 / 1.134 GB, free: 196.4 MB / 1.076 GB Notification: Performance of Templates: time 0.006231/1.007, allocations: 2.714 MB / 1.137 GB, free: 196.3 MB / 1.076 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.936718117445707]