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.001407/0.001407, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001482/0.001482, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.591/3.591, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002664/0.002664, allocations: 71.66 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5033, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2145/0.7178, allocations: 142.2 MB / 1.466 GB, free: 2.238 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00683/0.7246, allocations: 4.2 MB / 1.47 GB, free: 14.03 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.7251, allocations: 15.88 kB / 1.47 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.7256, allocations: 123.1 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.7267, allocations: 338.5 kB / 1.471 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.7276, allocations: 294.6 kB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008268/0.7285, allocations: 0.5729 MB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.7288, allocations: 169.4 kB / 1.472 GB, free: 12.53 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.7307, allocations: 0.6655 MB / 1.472 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.7311, allocations: 199.2 kB / 1.472 GB, free: 11.67 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.7311, allocations: 16 kB / 1.472 GB, free: 11.65 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.7313, allocations: 83.91 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.7315, allocations: 91.72 kB / 1.473 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.7316, allocations: 95.55 kB / 1.473 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.7322, allocations: 302.8 kB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.7322, allocations: 4 kB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7322, allocations: 0 / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.7322, allocations: 0 / 1.473 GB, free: 11.09 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.001003/0.7332, allocations: 484.7 kB / 1.473 GB, free: 10.58 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7332, allocations: 8.031 kB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.7333, allocations: 27.8 kB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.7338, allocations: 225.6 kB / 1.474 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7338, allocations: 16 kB / 1.474 GB, free: 10.29 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.7338, allocations: 20 kB / 1.474 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.7344, allocations: 265.6 kB / 1.474 GB, free: 9.969 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7344, allocations: 3.938 kB / 1.474 GB, free: 9.965 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.7344, allocations: 11.94 kB / 1.474 GB, free: 9.953 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.7344, allocations: 4 kB / 1.474 GB, free: 9.949 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.7348, allocations: 147.8 kB / 1.474 GB, free: 9.805 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.7362, allocations: 1.227 MB / 1.475 GB, free: 8.504 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.7366, allocations: 179.7 kB / 1.475 GB, free: 8.273 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.7367, allocations: 97.05 kB / 1.476 GB, free: 8.16 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/0.7371, allocations: 39.94 kB / 1.476 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.7372, allocations: 42.5 kB / 1.476 GB, free: 8.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.7372, allocations: 0 / 1.476 GB, free: 8.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006541/0.7378, allocations: 205.9 kB / 1.476 GB, free: 7.863 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.7379, allocations: 187.9 kB / 1.476 GB, free: 7.637 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.7381, allocations: 199.9 kB / 1.476 GB, free: 7.434 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.7382, allocations: 29.7 kB / 1.476 GB, free: 7.398 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.7383, allocations: 164.1 kB / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.7384, allocations: 39.69 kB / 1.476 GB, free: 7.191 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.7384, allocations: 37.7 kB / 1.476 GB, free: 7.148 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7386, allocations: 322.8 kB / 1.477 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.7387, allocations: 43.97 kB / 1.477 GB, free: 6.781 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.739, allocations: 226.5 kB / 1.477 GB, free: 6.508 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.7393, allocations: 154.7 kB / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7393, allocations: 3.938 kB / 1.477 GB, free: 6.328 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004194/0.7397, allocations: 193.5 kB / 1.477 GB, free: 6.133 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.7398, allocations: 4 kB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.7398, allocations: 12 kB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7398, allocations: 0 / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.7399, allocations: 27.98 kB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.74, allocations: 12.14 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.7401, allocations: 19.89 kB / 1.477 GB, free: 6.059 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.7401, allocations: 15.98 kB / 1.477 GB, free: 6.043 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.0001582/0.7403, allocations: 141.8 kB / 1.478 GB, free: 5.895 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.7404, allocations: 15.95 kB / 1.478 GB, free: 5.879 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.7408, allocations: 142.5 kB / 1.478 GB, free: 5.734 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7408, allocations: 0 / 1.478 GB, free: 5.734 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7408, allocations: 4 kB / 1.478 GB, free: 5.73 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7408, allocations: 4 kB / 1.478 GB, free: 5.727 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008751/0.7416, allocations: 0.6985 MB / 1.478 GB, free: 4.973 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.7417, allocations: 4 kB / 1.478 GB, free: 4.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.7418, allocations: 23.92 kB / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.7418, allocations: 4 kB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.7418, allocations: 0 / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.7418, allocations: 4 kB / 1.478 GB, free: 4.938 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7418, allocations: 0 / 1.478 GB, free: 4.938 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.7424, allocations: 339.7 kB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.7425, allocations: 27.84 kB / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.7425, allocations: 0 / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.7426, allocations: 15.98 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.7427, allocations: 11.92 kB / 1.479 GB, free: 4.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7427, allocations: 8.062 kB / 1.479 GB, free: 4.512 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001402/0.7428, allocations: 152.6 kB / 1.479 GB, free: 4.363 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.7428, allocations: 4.062 kB / 1.479 GB, free: 4.359 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003786/0.7432, allocations: 67.81 kB / 1.479 GB, free: 4.293 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.0002555/0.7434, allocations: 119.1 kB / 1.479 GB, free: 4.168 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.7438, allocations: 123.7 kB / 1.479 GB, free: 4.047 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7438, allocations: 0 / 1.479 GB, free: 4.047 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.744, allocations: 64.5 kB / 1.479 GB, free: 3.984 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.7445, allocations: 62.55 kB / 1.479 GB, free: 3.926 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.7455, allocations: 472.6 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.7456, allocations: 149.8 kB / 1.48 GB, free: 3.254 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.7457, allocations: 37.45 kB / 1.48 GB, free: 3.219 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.7458, allocations: 23.44 kB / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of SimCode: time 4.11e-07/0.7458, allocations: 0 / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of Templates: time 0.00789/0.7537, allocations: 3.084 MB / 1.483 GB, free: 188 kB / 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 -s cvode -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/jenkins1/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: 10.28443741099909]