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.001409/0.001409, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001475/0.001475, allocations: 212 kB / 23 MB, free: 4.934 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.179/3.179, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002048/0.002048, allocations: 65.7 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.176/0.5107, allocations: 142.2 MB / 1.466 GB, free: 2.191 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005671/0.5164, allocations: 4.198 MB / 1.47 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.5167, allocations: 15.88 kB / 1.47 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.5172, allocations: 123.1 kB / 1.47 GB, free: 13.85 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008862/0.5181, allocations: 342.4 kB / 1.471 GB, free: 13.51 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007929/0.5189, allocations: 294.8 kB / 1.471 GB, free: 13.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006676/0.5196, allocations: 0.5573 MB / 1.471 GB, free: 12.67 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.5199, allocations: 165.4 kB / 1.472 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.5214, allocations: 0.6772 MB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.5217, allocations: 195.2 kB / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.5217, allocations: 16 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.5219, allocations: 83.92 kB / 1.472 GB, free: 11.53 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.522, allocations: 91.72 kB / 1.473 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.5221, allocations: 99.53 kB / 1.473 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.5225, allocations: 298.8 kB / 1.473 GB, free: 11.05 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5225, allocations: 7.984 kB / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5226, allocations: 0 / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.5226, allocations: 0 / 1.473 GB, free: 11.04 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.0008457/0.5234, allocations: 482.6 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5234, allocations: 8.031 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.5235, allocations: 27.8 kB / 1.473 GB, free: 10.51 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.5239, allocations: 229.6 kB / 1.474 GB, free: 10.26 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5239, allocations: 16 kB / 1.474 GB, free: 10.24 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.524, allocations: 20 kB / 1.474 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.5245, allocations: 269.6 kB / 1.474 GB, free: 9.922 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5245, allocations: 0 / 1.474 GB, free: 9.922 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.5245, allocations: 7.938 kB / 1.474 GB, free: 9.914 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5245, allocations: 8 kB / 1.474 GB, free: 9.906 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.5248, allocations: 147.8 kB / 1.474 GB, free: 9.762 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.5262, allocations: 1.235 MB / 1.475 GB, free: 8.453 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.5265, allocations: 171.7 kB / 1.475 GB, free: 8.23 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.5267, allocations: 93.05 kB / 1.476 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/0.527, allocations: 43.94 kB / 1.476 GB, free: 8.078 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.527, allocations: 38.5 kB / 1.476 GB, free: 8.031 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.527, allocations: 0 / 1.476 GB, free: 8.031 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006414/0.5277, allocations: 213.9 kB / 1.476 GB, free: 7.816 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.5278, allocations: 183.9 kB / 1.476 GB, free: 7.594 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.528, allocations: 199.9 kB / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.528, allocations: 33.7 kB / 1.476 GB, free: 7.352 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.5281, allocations: 164.1 kB / 1.476 GB, free: 7.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.5281, allocations: 35.64 kB / 1.476 GB, free: 7.148 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.5282, allocations: 37.7 kB / 1.476 GB, free: 7.105 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5283, allocations: 326.8 kB / 1.477 GB, free: 6.777 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.5285, allocations: 47.95 kB / 1.477 GB, free: 6.73 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.5287, allocations: 224.3 kB / 1.477 GB, free: 6.461 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.529, allocations: 158.7 kB / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.529, allocations: 0 / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003865/0.5294, allocations: 181.3 kB / 1.477 GB, free: 6.098 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5294, allocations: 14.02 kB / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5294, allocations: 0 / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5295, allocations: 7.938 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.5296, allocations: 32.3 kB / 1.477 GB, free: 6.047 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5296, allocations: 4.219 kB / 1.477 GB, free: 6.043 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.5298, allocations: 27.88 kB / 1.477 GB, free: 6.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.5298, allocations: 12 kB / 1.477 GB, free: 6.004 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.0001362/0.5299, allocations: 145.8 kB / 1.478 GB, free: 5.852 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5301, allocations: 19.89 kB / 1.478 GB, free: 5.832 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.5304, allocations: 130.5 kB / 1.478 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5304, allocations: 4 kB / 1.478 GB, free: 5.695 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5304, allocations: 0 / 1.478 GB, free: 5.695 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.5305, allocations: 31.83 kB / 1.478 GB, free: 5.664 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.5305, allocations: 8 kB / 1.478 GB, free: 5.656 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.5308, allocations: 4 kB / 1.478 GB, free: 5.652 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.5308, allocations: 11.98 kB / 1.478 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005915/0.5314, allocations: 0.6105 MB / 1.478 GB, free: 5.02 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006962/0.5321, allocations: 0.7491 MB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00015/0.5322, allocations: 55.98 kB / 1.479 GB, free: 4.195 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001226/0.5324, allocations: 144.6 kB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of Backend: time 5.91e-07/0.5324, allocations: 0 / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.5334, allocations: 170.3 kB / 1.479 GB, free: 3.883 MB / 1.17 GB Notification: Performance of SimCode: time 0.001215/0.5346, allocations: 0.9207 MB / 1.48 GB, free: 2.91 MB / 1.17 GB Notification: Performance of Templates: time 0.007617/0.5422, allocations: 3.379 MB / 1.484 GB, free: 15.6 MB / 1.186 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 -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: 8.870340831999783]