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.002078/0.002078, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002061/0.002061, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.638/1.638, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.132/3.132, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 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 1.703e-06/1.703e-06, allocations: 0.7656 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.316e-05, allocations: 6.75 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2355/0.2356, allocations: 157.4 MB / 0.9645 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007402/0.243, allocations: 4.673 MB / 0.9691 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.2434, allocations: 15.88 kB / 0.9691 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.2439, allocations: 131 kB / 0.9692 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.245, allocations: 350.1 kB / 0.9695 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009421/0.2459, allocations: 315.1 kB / 0.9699 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.2467, allocations: 0.5572 MB / 0.9704 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.2471, allocations: 161.5 kB / 0.9705 GB, free: 14 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.2492, allocations: 0.7394 MB / 0.9713 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.2496, allocations: 175.5 kB / 0.9714 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.2496, allocations: 16 kB / 0.9715 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.2499, allocations: 75.92 kB / 0.9715 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.25, allocations: 95.72 kB / 0.9716 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2501, allocations: 79.83 kB / 0.9717 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.2507, allocations: 315 kB / 0.972 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2507, allocations: 0 / 0.972 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2507, allocations: 0 / 0.972 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2507, allocations: 4 kB / 0.972 GB, free: 12.51 MB / 0.9323 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.001018/0.2517, allocations: 0.5652 MB / 0.9725 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.2518, allocations: 12.03 kB / 0.9726 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2519, allocations: 47.75 kB / 0.9726 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.2524, allocations: 240.4 kB / 0.9728 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2524, allocations: 12 kB / 0.9728 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.2524, allocations: 20 kB / 0.9729 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.2529, allocations: 266 kB / 0.9731 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.253, allocations: 4 kB / 0.9731 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.253, allocations: 7.984 kB / 0.9731 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.253, allocations: 4 kB / 0.9731 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.2533, allocations: 115.7 kB / 0.9732 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.2552, allocations: 1.742 MB / 0.9749 GB, free: 9.285 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.2555, allocations: 218.6 kB / 0.9752 GB, free: 8.996 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2557, allocations: 82.11 kB / 0.9752 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.256, allocations: 35.95 kB / 0.9753 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.256, allocations: 45.33 kB / 0.9753 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.256, allocations: 0 / 0.9753 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10): time 0.0005596/0.2566, allocations: 161.4 kB / 0.9755 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.2567, allocations: 187.9 kB / 0.9756 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.2571, allocations: 287.1 kB / 0.9759 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.2571, allocations: 29.7 kB / 0.9759 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.2573, allocations: 214.9 kB / 0.9762 GB, free: 7.863 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.2574, allocations: 43.75 kB / 0.9762 GB, free: 7.82 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2575, allocations: 47.31 kB / 0.9762 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003668/0.2579, allocations: 0.504 MB / 0.9767 GB, free: 7.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.258, allocations: 35.97 kB / 0.9768 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.2583, allocations: 227.9 kB / 0.977 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.2586, allocations: 157.3 kB / 0.9771 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2586, allocations: 0 / 0.9771 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003546/0.259, allocations: 153.8 kB / 0.9773 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.259, allocations: 8.781 kB / 0.9773 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.259, allocations: 8.219 kB / 0.9773 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.259, allocations: 7.938 kB / 0.9773 GB, free: 6.562 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2592, allocations: 31.98 kB / 0.9773 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2592, allocations: 3.938 kB / 0.9773 GB, free: 6.527 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.2593, allocations: 19.88 kB / 0.9774 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.2594, allocations: 8 kB / 0.9774 GB, free: 6.5 MB / 0.9323 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.000655/0.26, allocations: 184.5 kB / 0.9775 GB, free: 6.309 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2602, allocations: 19.91 kB / 0.9776 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.2605, allocations: 106.8 kB / 0.9777 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.2605, allocations: 11.94 kB / 0.9777 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.2605, allocations: 3.938 kB / 0.9777 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.2605, allocations: 7.984 kB / 0.9777 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.2619, allocations: 0.9339 MB / 0.9786 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2619, allocations: 0 / 0.9786 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.262, allocations: 23.88 kB / 0.9786 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.262, allocations: 7.984 kB / 0.9786 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.262, allocations: 0 / 0.9786 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.2621, allocations: 8.156 kB / 0.9786 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2621, allocations: 0 / 0.9786 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.2627, allocations: 354.1 kB / 0.979 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.2628, allocations: 31.81 kB / 0.979 GB, free: 4.695 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.2628, allocations: 4 kB / 0.979 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.2629, allocations: 4 kB / 0.979 GB, free: 4.688 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.263, allocations: 15.98 kB / 0.979 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.263, allocations: 8 kB / 0.979 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002117/0.2632, allocations: 196.5 kB / 0.9792 GB, free: 4.473 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2632, allocations: 4.031 kB / 0.9792 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004207/0.2636, allocations: 63.83 kB / 0.9793 GB, free: 4.406 MB / 0.9323 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.0003421/0.264, allocations: 123.1 kB / 0.9794 GB, free: 4.277 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.2643, allocations: 103.5 kB / 0.9795 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2643, allocations: 0 / 0.9795 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2645, allocations: 64.34 kB / 0.9796 GB, free: 4.105 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.265, allocations: 58.69 kB / 0.9796 GB, free: 4.051 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.266, allocations: 465.8 kB / 0.9801 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2661, allocations: 145.8 kB / 0.9802 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.2663, allocations: 33.7 kB / 0.9802 GB, free: 3.352 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.2663, allocations: 20.5 kB / 0.9803 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/0.2663, allocations: 0 / 0.9803 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of Templates: time 0.008013/0.2743, allocations: 2.734 MB / 0.9829 GB, free: 0.6836 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] 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: 8.87460983893834]