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.001755/0.001755, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002014/0.002014, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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 2.909/2.909, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002295/0.002295, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9676/0.9699, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1971/1.167, allocations: 142.2 MB / 1.326 GB, free: 7.645 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005922/1.173, allocations: 4.194 MB / 1.33 GB, free: 3.445 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/1.173, allocations: 15.88 kB / 1.33 GB, free: 3.43 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/1.174, allocations: 131 kB / 1.33 GB, free: 3.301 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00087/1.175, allocations: 330.5 kB / 1.33 GB, free: 2.977 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/1.175, allocations: 286.9 kB / 1.33 GB, free: 2.699 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007412/1.176, allocations: 0.5729 MB / 1.331 GB, free: 2.125 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/1.177, allocations: 161.2 kB / 1.331 GB, free: 1.969 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/1.178, allocations: 0.6733 MB / 1.332 GB, free: 1.293 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/1.178, allocations: 191.2 kB / 1.332 GB, free: 1.105 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/1.178, allocations: 20 kB / 1.332 GB, free: 1.086 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/1.179, allocations: 75.92 kB / 1.332 GB, free: 1.012 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/1.179, allocations: 87.73 kB / 1.332 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/1.179, allocations: 103.5 kB / 1.332 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/1.179, allocations: 302.7 kB / 1.332 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.179, allocations: 0 / 1.332 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.483e-06/1.179, allocations: 0 / 1.332 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.179, allocations: 0 / 1.332 GB, free: 0.5312 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.0008238/1.18, allocations: 468.8 kB / 1.333 GB, free: 44 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.18, allocations: 20.02 kB / 1.333 GB, free: 24 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/1.18, allocations: 31.8 kB / 1.333 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/1.181, allocations: 221.4 kB / 1.333 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.181, allocations: 19.94 kB / 1.333 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/1.181, allocations: 20 kB / 1.333 GB, free: 15.71 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/1.181, allocations: 261.9 kB / 1.333 GB, free: 15.42 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.181, allocations: 0 / 1.333 GB, free: 15.42 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/1.181, allocations: 15.94 kB / 1.333 GB, free: 15.4 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/1.181, allocations: 4 kB / 1.333 GB, free: 15.4 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/1.182, allocations: 143.8 kB / 1.334 GB, free: 15.26 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/1.183, allocations: 1.239 MB / 1.335 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/1.183, allocations: 175.7 kB / 1.335 GB, free: 13.72 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.184, allocations: 93.11 kB / 1.335 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/1.184, allocations: 43.94 kB / 1.335 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.184, allocations: 42.5 kB / 1.335 GB, free: 13.52 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/1.184, allocations: 0 / 1.335 GB, free: 13.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006263/1.185, allocations: 197.9 kB / 1.335 GB, free: 13.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.185, allocations: 191.9 kB / 1.336 GB, free: 13.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/1.185, allocations: 207.2 kB / 1.336 GB, free: 12.87 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.185, allocations: 29.7 kB / 1.336 GB, free: 12.84 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/1.185, allocations: 156.2 kB / 1.336 GB, free: 12.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/1.185, allocations: 43.75 kB / 1.336 GB, free: 12.64 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/1.185, allocations: 33.72 kB / 1.336 GB, free: 12.6 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.185, allocations: 330.8 kB / 1.336 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/1.186, allocations: 43.91 kB / 1.336 GB, free: 12.22 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/1.186, allocations: 219.3 kB / 1.337 GB, free: 11.96 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/1.186, allocations: 158.7 kB / 1.337 GB, free: 11.78 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.186, allocations: 0 / 1.337 GB, free: 11.78 MB / 1.186 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004075/1.187, allocations: 193.5 kB / 1.337 GB, free: 11.58 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.187, allocations: 11.94 kB / 1.337 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.187, allocations: 3.938 kB / 1.337 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.187, allocations: 4 kB / 1.337 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/1.187, allocations: 31.92 kB / 1.337 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.187, allocations: 4 kB / 1.337 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.187, allocations: 20.16 kB / 1.337 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.187, allocations: 8 kB / 1.337 GB, free: 11.5 MB / 1.186 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.0001453/1.187, allocations: 149.8 kB / 1.337 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/1.187, allocations: 23.94 kB / 1.337 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/1.188, allocations: 126.7 kB / 1.337 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.188, allocations: 4 kB / 1.337 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.188, allocations: 0 / 1.337 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.188, allocations: 4 kB / 1.337 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008658/1.188, allocations: 0.7024 MB / 1.338 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.188, allocations: 0 / 1.338 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.189, allocations: 23.98 kB / 1.338 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.189, allocations: 0 / 1.338 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/1.189, allocations: 8 kB / 1.338 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.189, allocations: 0 / 1.338 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.189, allocations: 4 kB / 1.338 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/1.189, allocations: 343.6 kB / 1.338 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/1.189, allocations: 27.86 kB / 1.338 GB, free: 9.996 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/1.189, allocations: 4.094 kB / 1.338 GB, free: 9.992 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/1.189, allocations: 20.05 kB / 1.338 GB, free: 9.973 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/1.189, allocations: 7.984 kB / 1.338 GB, free: 9.965 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/1.189, allocations: 4 kB / 1.338 GB, free: 9.961 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001431/1.19, allocations: 152.6 kB / 1.338 GB, free: 9.812 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.19, allocations: 0 / 1.338 GB, free: 9.812 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003529/1.19, allocations: 59.89 kB / 1.339 GB, free: 9.754 MB / 1.186 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.0001978/1.19, allocations: 127.2 kB / 1.339 GB, free: 9.621 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003544/1.19, allocations: 119.7 kB / 1.339 GB, free: 9.504 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.19, allocations: 3.938 kB / 1.339 GB, free: 9.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/1.191, allocations: 56.53 kB / 1.339 GB, free: 9.445 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/1.191, allocations: 63.44 kB / 1.339 GB, free: 9.387 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/1.192, allocations: 488.1 kB / 1.339 GB, free: 8.867 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/1.192, allocations: 149.8 kB / 1.34 GB, free: 8.699 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001089/1.192, allocations: 41.7 kB / 1.34 GB, free: 8.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/1.192, allocations: 16.5 kB / 1.34 GB, free: 8.645 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/1.192, allocations: 0 / 1.34 GB, free: 8.645 MB / 1.186 GB Notification: Performance of Templates: time 0.007071/1.199, allocations: 2.736 MB / 1.342 GB, free: 5.98 MB / 1.186 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 -s ida -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/jenkins1/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: 9.201533454004675]