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.002075/0.002075, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002746/0.002746, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.109/3.109, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.002066/0.002066, allocations: 67.47 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3501, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.182/0.5321, allocations: 142.2 MB / 1.466 GB, free: 2.168 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.5378, allocations: 4.201 MB / 1.47 GB, free: 13.96 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.5381, allocations: 19.81 kB / 1.47 GB, free: 13.94 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.5386, allocations: 127.1 kB / 1.47 GB, free: 13.82 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009489/0.5395, allocations: 338.5 kB / 1.471 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.5403, allocations: 282 kB / 1.471 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007175/0.5411, allocations: 0.569 MB / 1.471 GB, free: 12.64 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.5414, allocations: 157.4 kB / 1.472 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.5429, allocations: 0.6617 MB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.5432, allocations: 203.1 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.5432, allocations: 16 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.5434, allocations: 75.94 kB / 1.473 GB, free: 11.53 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.5435, allocations: 91.72 kB / 1.473 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.5437, allocations: 103.5 kB / 1.473 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.5441, allocations: 302.8 kB / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5441, allocations: 0 / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5441, allocations: 0 / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5441, 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.0008327/0.545, allocations: 472.8 kB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.545, allocations: 12.03 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.5451, allocations: 31.73 kB / 1.473 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.5455, allocations: 233.6 kB / 1.474 GB, free: 10.25 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.5455, allocations: 12 kB / 1.474 GB, free: 10.24 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.5456, allocations: 20 kB / 1.474 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.546, allocations: 261.6 kB / 1.474 GB, free: 9.926 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.546, allocations: 7.938 kB / 1.474 GB, free: 9.918 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.546, allocations: 11.94 kB / 1.474 GB, free: 9.906 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.546, allocations: 4 kB / 1.474 GB, free: 9.902 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.5464, allocations: 151.7 kB / 1.474 GB, free: 9.754 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5476, allocations: 1.227 MB / 1.475 GB, free: 8.453 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.548, allocations: 183.6 kB / 1.476 GB, free: 8.219 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.5482, allocations: 89.11 kB / 1.476 GB, free: 8.113 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.5485, allocations: 39.94 kB / 1.476 GB, free: 8.074 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.5485, allocations: 42.5 kB / 1.476 GB, free: 8.023 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.5485, allocations: 4 kB / 1.476 GB, free: 8.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006172/0.5491, allocations: 201.2 kB / 1.476 GB, free: 7.816 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5493, allocations: 183.9 kB / 1.476 GB, free: 7.594 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.5495, allocations: 203.9 kB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.5495, allocations: 34.33 kB / 1.476 GB, free: 7.348 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.5497, allocations: 160.1 kB / 1.476 GB, free: 7.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.5497, allocations: 43.75 kB / 1.476 GB, free: 7.141 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.5498, allocations: 41.7 kB / 1.477 GB, free: 7.094 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5499, allocations: 322.8 kB / 1.477 GB, free: 6.77 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5501, allocations: 43.97 kB / 1.477 GB, free: 6.727 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.5503, allocations: 226.4 kB / 1.477 GB, free: 6.453 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.5506, allocations: 154.8 kB / 1.477 GB, free: 6.277 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5506, allocations: 3.938 kB / 1.477 GB, free: 6.273 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003652/0.551, allocations: 177.9 kB / 1.477 GB, free: 6.094 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.551, allocations: 8 kB / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.551, allocations: 3.938 kB / 1.477 GB, free: 6.082 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.551, allocations: 4 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.5512, allocations: 39.92 kB / 1.477 GB, free: 6.039 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5512, allocations: 7.984 kB / 1.477 GB, free: 6.031 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.5513, allocations: 15.89 kB / 1.477 GB, free: 6.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.5513, allocations: 11.98 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.0001532/0.5515, allocations: 149.8 kB / 1.478 GB, free: 5.848 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5516, allocations: 19.91 kB / 1.478 GB, free: 5.828 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5519, allocations: 130.6 kB / 1.478 GB, free: 5.695 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.5519, allocations: 8.031 kB / 1.478 GB, free: 5.688 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5519, allocations: 0 / 1.478 GB, free: 5.688 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5519, allocations: 4 kB / 1.478 GB, free: 5.684 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008449/0.5528, allocations: 0.7062 MB / 1.478 GB, free: 4.922 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5528, allocations: 160 / 1.478 GB, free: 4.922 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.5529, allocations: 27.98 kB / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5529, allocations: 0 / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.5529, allocations: 4 kB / 1.479 GB, free: 4.891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5529, allocations: 0 / 1.479 GB, free: 4.891 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5529, allocations: 7.938 kB / 1.479 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.5535, allocations: 335.5 kB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.5535, allocations: 27.94 kB / 1.479 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.5536, allocations: 8 kB / 1.479 GB, free: 4.488 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5537, allocations: 11.98 kB / 1.479 GB, free: 4.477 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.5537, allocations: 7.984 kB / 1.479 GB, free: 4.469 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.5537, allocations: 4 kB / 1.479 GB, free: 4.465 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001342/0.5539, allocations: 152.6 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5539, allocations: 0 / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003634/0.5542, allocations: 67.81 kB / 1.479 GB, free: 4.25 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.000236/0.5545, allocations: 123.1 kB / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.5548, allocations: 123.9 kB / 1.479 GB, free: 4 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5548, allocations: 0 / 1.479 GB, free: 4 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.555, allocations: 55.91 kB / 1.479 GB, free: 3.945 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.5555, allocations: 77.27 kB / 1.479 GB, free: 3.875 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.5563, allocations: 0.4901 MB / 1.48 GB, free: 3.332 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.5565, allocations: 145.8 kB / 1.48 GB, free: 3.168 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.5565, allocations: 23.44 kB / 1.48 GB, free: 3.145 MB / 1.17 GB Notification: Performance of SimCode: time 2.9e-07/0.5565, allocations: 0 / 1.48 GB, free: 3.145 MB / 1.17 GB Notification: Performance of Templates: time 0.005662/0.5622, allocations: 3.109 MB / 1.483 GB, free: 56 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 -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: 12.040746150072664]