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.0008399/0.0008399, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008166/0.0008166, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8636/0.8636, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.737/1.737, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.686e-05, allocations: 5.516 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6396/0.6397, allocations: 142.2 MB / 1.121 GB, free: 16.95 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.6436, allocations: 4.169 MB / 1.125 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.6441, allocations: 18.59 kB / 1.125 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.6447, allocations: 138.7 kB / 1.125 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.6457, allocations: 335.9 kB / 1.126 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.6467, allocations: 311.9 kB / 1.126 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007787/0.6475, allocations: 0.5631 MB / 1.126 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.6479, allocations: 168.7 kB / 1.127 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.6495, allocations: 0.7327 MB / 1.127 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.6497, allocations: 170.2 kB / 1.127 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.6498, allocations: 16.84 kB / 1.128 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.65, allocations: 82.61 kB / 1.128 GB, free: 13 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.6501, allocations: 91.28 kB / 1.128 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.6502, allocations: 81.34 kB / 1.128 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.6506, allocations: 315.6 kB / 1.128 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6506, allocations: 0 / 1.128 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.906e-06/0.6506, allocations: 1.312 kB / 1.128 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6506, allocations: 0 / 1.128 GB, free: 12.81 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.0007405/0.6514, allocations: 476 kB / 1.129 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6514, allocations: 10.78 kB / 1.129 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.6515, allocations: 32.25 kB / 1.129 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.6518, allocations: 218.7 kB / 1.129 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.6518, allocations: 15.94 kB / 1.129 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.6519, allocations: 20.94 kB / 1.129 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.6522, allocations: 274.2 kB / 1.129 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6522, allocations: 1.219 kB / 1.129 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.6522, allocations: 8.688 kB / 1.129 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.6523, allocations: 4.469 kB / 1.129 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.6525, allocations: 151.2 kB / 1.129 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.6533, allocations: 1.238 MB / 1.13 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.6535, allocations: 178 kB / 1.131 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.6536, allocations: 88.97 kB / 1.131 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.6538, allocations: 43.19 kB / 1.131 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.6538, allocations: 40.72 kB / 1.131 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 2.455e-06/0.6538, allocations: 0 / 1.131 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0004526/0.6543, allocations: 201.3 kB / 1.131 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6543, allocations: 191.3 kB / 1.131 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.6545, allocations: 205.6 kB / 1.131 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.6545, allocations: 26.86 kB / 1.131 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.6546, allocations: 166.9 kB / 1.132 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.6546, allocations: 35.48 kB / 1.132 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.6547, allocations: 33.28 kB / 1.132 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.6547, allocations: 333.3 kB / 1.132 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.6548, allocations: 47.08 kB / 1.132 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.655, allocations: 219 kB / 1.132 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.6551, allocations: 155.8 kB / 1.132 GB, free: 9.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6551, allocations: 1.406 kB / 1.132 GB, free: 9.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002398/0.6554, allocations: 185.2 kB / 1.132 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6554, allocations: 6.938 kB / 1.132 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6554, allocations: 2.594 kB / 1.132 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.6554, allocations: 4.75 kB / 1.132 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6555, allocations: 32.02 kB / 1.133 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6555, allocations: 15.97 kB / 1.133 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.6556, allocations: 15.81 kB / 1.133 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.6556, allocations: 7.562 kB / 1.133 GB, free: 9.164 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.165e-05/0.6557, allocations: 149.5 kB / 1.133 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.6558, allocations: 24.38 kB / 1.133 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.656, allocations: 127 kB / 1.133 GB, free: 8.957 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.656, allocations: 2.438 kB / 1.133 GB, free: 8.957 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.656, allocations: 2.875 kB / 1.133 GB, free: 8.957 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.656, allocations: 9 kB / 1.133 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.6566, allocations: 0.6954 MB / 1.134 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6566, allocations: 1.375 kB / 1.134 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.6567, allocations: 25.19 kB / 1.134 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6567, allocations: 6.156 kB / 1.134 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.6567, allocations: 4.219 kB / 1.134 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6567, allocations: 2.188 kB / 1.134 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.6567, allocations: 4.641 kB / 1.134 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.657, allocations: 336.8 kB / 1.134 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.6571, allocations: 28.98 kB / 1.134 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.6571, allocations: 7.531 kB / 1.134 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-05/0.6572, allocations: 12.78 kB / 1.134 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.6572, allocations: 12.52 kB / 1.134 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.6572, allocations: 3.594 kB / 1.134 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.49e-05/0.6573, allocations: 146 kB / 1.134 GB, free: 7.957 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6573, allocations: 4.156 kB / 1.134 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002927/0.6576, allocations: 68.64 kB / 1.134 GB, free: 7.934 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.0002069/0.6578, allocations: 124 kB / 1.134 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.658, allocations: 118.4 kB / 1.134 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.658, allocations: 448 / 1.134 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.972e-05/0.6581, allocations: 66.23 kB / 1.134 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.6585, allocations: 65.97 kB / 1.135 GB, free: 7.77 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.6592, allocations: 471 kB / 1.135 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.6593, allocations: 147.4 kB / 1.135 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.6593, allocations: 20.11 kB / 1.135 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of SimCode: time 8.42e-07/0.6593, allocations: 0 / 1.135 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of Templates: time 0.005576/0.6649, allocations: 3.119 MB / 1.138 GB, free: 7.043 MB / 0.9948 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/jenkins/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: 7.835934543982148]