Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008148/0.0008148, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007609/0.0007609, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8679/0.8679, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.7/1.7, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.32e-05, allocations: 2.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6078/0.6079, allocations: 142.2 MB / 1.14 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.6114, allocations: 4.16 MB / 1.144 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.6116, allocations: 14.25 kB / 1.144 GB, free: 9.316 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.612, allocations: 126.5 kB / 1.144 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006137/0.6126, allocations: 341.7 kB / 1.144 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.6131, allocations: 306.5 kB / 1.145 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.6136, allocations: 0.53 MB / 1.145 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.6138, allocations: 139.1 kB / 1.145 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.615, allocations: 0.7414 MB / 1.146 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.6152, allocations: 168.4 kB / 1.146 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.6153, allocations: 16.06 kB / 1.146 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.6154, allocations: 85.19 kB / 1.146 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.6155, allocations: 84.22 kB / 1.146 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.6156, allocations: 84.39 kB / 1.146 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.6159, allocations: 302.1 kB / 1.147 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6159, allocations: 0 / 1.147 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6159, allocations: 1.375 kB / 1.147 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.6159, allocations: 0 / 1.147 GB, free: 7.422 MB / 0.9948 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.0006555/0.6165, allocations: 476.4 kB / 1.147 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6166, allocations: 10.94 kB / 1.147 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.6166, allocations: 33.5 kB / 1.147 GB, free: 6.984 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.6169, allocations: 218.9 kB / 1.147 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.617, allocations: 12.25 kB / 1.147 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.617, allocations: 28.33 kB / 1.147 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.6173, allocations: 261.9 kB / 1.148 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6173, allocations: 0 / 1.148 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.6173, allocations: 6.75 kB / 1.148 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6173, allocations: 5.5 kB / 1.148 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.6175, allocations: 154.8 kB / 1.148 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.6183, allocations: 1.228 MB / 1.149 GB, free: 5.312 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.6185, allocations: 174.7 kB / 1.149 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.6186, allocations: 88.92 kB / 1.149 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.6188, allocations: 51.78 kB / 1.149 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.6188, allocations: 42.14 kB / 1.149 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.6188, allocations: 0 / 1.149 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0003688/0.6192, allocations: 204.1 kB / 1.15 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.6193, allocations: 185.7 kB / 1.15 GB, free: 4.648 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.6194, allocations: 206.8 kB / 1.15 GB, free: 4.492 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.6194, allocations: 27.11 kB / 1.15 GB, free: 4.461 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.6195, allocations: 157.5 kB / 1.15 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.6195, allocations: 31.73 kB / 1.15 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.6196, allocations: 43.28 kB / 1.15 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.6197, allocations: 323 kB / 1.15 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.6197, allocations: 48.7 kB / 1.15 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.6199, allocations: 222.2 kB / 1.151 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.6201, allocations: 166.5 kB / 1.151 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6201, allocations: 3.938 kB / 1.151 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002187/0.6203, allocations: 180.9 kB / 1.151 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6203, allocations: 5.719 kB / 1.151 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6203, allocations: 1.469 kB / 1.151 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.6203, allocations: 2.812 kB / 1.151 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.6204, allocations: 36.25 kB / 1.151 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6204, allocations: 6.781 kB / 1.151 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/0.6205, allocations: 19.84 kB / 1.151 GB, free: 3.418 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.6205, allocations: 13 kB / 1.151 GB, free: 3.414 MB / 0.9948 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 9.458e-05/0.6206, allocations: 146.6 kB / 1.151 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.6207, allocations: 16.28 kB / 1.151 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.6209, allocations: 123.2 kB / 1.151 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6209, allocations: 2.562 kB / 1.151 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6209, allocations: 2.469 kB / 1.151 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.6209, allocations: 13.2 kB / 1.151 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.6214, allocations: 0.6961 MB / 1.152 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.6214, allocations: 4.75 kB / 1.152 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.6215, allocations: 20.61 kB / 1.152 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6215, allocations: 6.938 kB / 1.152 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.6215, allocations: 0 / 1.152 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6215, allocations: 2.938 kB / 1.152 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6215, allocations: 6.5 kB / 1.152 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.6218, allocations: 332.1 kB / 1.152 GB, free: 2.23 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.6219, allocations: 31.92 kB / 1.152 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.6219, allocations: 2.656 kB / 1.152 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.6219, allocations: 13.58 kB / 1.153 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.622, allocations: 9.766 kB / 1.153 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.622, allocations: 2.562 kB / 1.153 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.132e-05/0.622, allocations: 144.6 kB / 1.153 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.622, allocations: 2.938 kB / 1.153 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002127/0.6223, allocations: 55.86 kB / 1.153 GB, free: 2.074 MB / 0.9948 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.0001829/0.6224, allocations: 137.2 kB / 1.153 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.6226, allocations: 116.1 kB / 1.153 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6226, allocations: 2.562 kB / 1.153 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.6227, allocations: 59.88 kB / 1.153 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.623, allocations: 54.22 kB / 1.153 GB, free: 1.855 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.6237, allocations: 478.4 kB / 1.154 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.6238, allocations: 152.1 kB / 1.154 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.6238, allocations: 23.38 kB / 1.154 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of SimCode: time 5.51e-07/0.6238, allocations: 0 / 1.154 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of Templates: time 0.00367/0.6275, allocations: 3.005 MB / 1.157 GB, free: 15.81 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.586272997781634]