Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 443.4 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 71.89 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3913, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.9127/1.304, allocations: 162 MB / 1.374 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00716/1.311, allocations: 4.596 MB / 1.379 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/1.312, allocations: 14.38 kB / 1.379 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/1.312, allocations: 129.3 kB / 1.379 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/1.313, allocations: 341.5 kB / 1.379 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/1.314, allocations: 293.8 kB / 1.38 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008709/1.315, allocations: 0.5602 MB / 1.38 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/1.315, allocations: 151.5 kB / 1.38 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/1.317, allocations: 474.9 kB / 1.381 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/1.317, allocations: 210.5 kB / 1.381 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/1.317, allocations: 16.44 kB / 1.381 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/1.317, allocations: 84.16 kB / 1.381 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/1.317, allocations: 87.47 kB / 1.381 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/1.318, allocations: 121.8 kB / 1.381 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005898/1.318, allocations: 298.6 kB / 1.382 GB, free: 9.707 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.318, allocations: 0 / 1.382 GB, free: 9.707 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/1.318, allocations: 0 / 1.382 GB, free: 9.707 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.318, allocations: 3.188 kB / 1.382 GB, free: 9.707 MB / 1.061 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.001037/1.319, allocations: 0.5406 MB / 1.382 GB, free: 9.227 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.319, allocations: 10.22 kB / 1.382 GB, free: 9.227 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/1.319, allocations: 32.84 kB / 1.382 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/1.32, allocations: 298.8 kB / 1.382 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/1.32, allocations: 16.44 kB / 1.382 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/1.32, allocations: 15.81 kB / 1.382 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/1.321, allocations: 260.2 kB / 1.383 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.321, allocations: 1.125 kB / 1.383 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/1.321, allocations: 14.53 kB / 1.383 GB, free: 8.754 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.321, allocations: 5.219 kB / 1.383 GB, free: 8.754 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/1.321, allocations: 151.7 kB / 1.383 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/1.322, allocations: 1.363 MB / 1.384 GB, free: 7.504 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/1.323, allocations: 179.5 kB / 1.384 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/1.323, allocations: 93.8 kB / 1.384 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/1.323, allocations: 120 kB / 1.385 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/1.323, allocations: 40.97 kB / 1.385 GB, free: 7.117 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/1.323, allocations: 0 / 1.385 GB, free: 7.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006265/1.324, allocations: 209 kB / 1.385 GB, free: 7.027 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.324, allocations: 189.1 kB / 1.385 GB, free: 6.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/1.324, allocations: 285.8 kB / 1.385 GB, free: 6.652 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.324, allocations: 31.86 kB / 1.385 GB, free: 6.617 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/1.325, allocations: 149.7 kB / 1.385 GB, free: 6.488 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/1.325, allocations: 34.02 kB / 1.385 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/1.325, allocations: 34.11 kB / 1.385 GB, free: 6.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.325, allocations: 337.4 kB / 1.386 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/1.325, allocations: 49.72 kB / 1.386 GB, free: 6.098 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/1.325, allocations: 111.7 kB / 1.386 GB, free: 6.012 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/1.325, allocations: 159.2 kB / 1.386 GB, free: 5.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.325, allocations: 5.25 kB / 1.386 GB, free: 5.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003851/1.326, allocations: 185.7 kB / 1.386 GB, free: 5.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.326, allocations: 11.41 kB / 1.386 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.326, allocations: 2.094 kB / 1.386 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.326, allocations: 2.438 kB / 1.386 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/1.326, allocations: 33.59 kB / 1.386 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.326, allocations: 8.734 kB / 1.386 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/1.326, allocations: 32.8 kB / 1.386 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/1.326, allocations: 9.188 kB / 1.386 GB, free: 5.789 MB / 1.061 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.0001522/1.326, allocations: 153.9 kB / 1.386 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.327, allocations: 27.92 kB / 1.387 GB, free: 5.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/1.327, allocations: 127.4 kB / 1.387 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.327, allocations: 14.62 kB / 1.387 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.327, allocations: 1.312 kB / 1.387 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.327, allocations: 2.25 kB / 1.387 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/1.328, allocations: 0.7797 MB / 1.387 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.328, allocations: 5.406 kB / 1.387 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/1.328, allocations: 21.64 kB / 1.387 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.328, allocations: 1.344 kB / 1.387 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/1.328, allocations: 6.781 kB / 1.387 GB, free: 4.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/1.328, allocations: 6.156 kB / 1.387 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.328, allocations: 5.141 kB / 1.387 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/1.329, allocations: 334.8 kB / 1.388 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.329, allocations: 116.9 kB / 1.388 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/1.329, allocations: 5.344 kB / 1.388 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.329, allocations: 9.156 kB / 1.388 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/1.329, allocations: 17.64 kB / 1.388 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/1.329, allocations: 3.875 kB / 1.388 GB, free: 4.352 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002124/1.329, allocations: 208.9 kB / 1.388 GB, free: 4.211 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.329, allocations: 0 / 1.388 GB, free: 4.211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003616/1.329, allocations: 57.98 kB / 1.388 GB, free: 4.199 MB / 1.061 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.0003678/1.33, allocations: 140.2 kB / 1.388 GB, free: 4.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003708/1.33, allocations: 121.7 kB / 1.388 GB, free: 4.035 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.33, allocations: 0 / 1.388 GB, free: 4.035 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/1.33, allocations: 56.53 kB / 1.388 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/1.331, allocations: 135.5 kB / 1.389 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/1.332, allocations: 0.4911 MB / 1.389 GB, free: 3.586 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/1.332, allocations: 0.766 MB / 1.39 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001624/1.333, allocations: 55.86 kB / 1.39 GB, free: 2.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/1.333, allocations: 21 kB / 1.39 GB, free: 2.809 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/1.333, allocations: 5.062 kB / 1.39 GB, free: 2.805 MB / 1.061 GB Notification: Performance of Templates: time 0.009465/1.342, allocations: 4.306 MB / 1.394 GB, free: 0.6797 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.664117277599871]