Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.001453/0.001453, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001688/0.001688, allocations: 215.5 kB / 23.01 MB, free: 4.566 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 8.027 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 2.978/2.978, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [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.001936/0.001936, allocations: 76.48 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1936/0.5219, allocations: 179.8 MB / 1.503 GB, free: 13.01 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.5319, allocations: 8.846 MB / 1.511 GB, free: 4.141 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.5325, allocations: 31.69 kB / 1.511 GB, free: 4.109 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.5332, allocations: 309.7 kB / 1.512 GB, free: 3.805 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0006401/0.5338, allocations: 310.4 kB / 1.512 GB, free: 3.5 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.5348, allocations: 418.5 kB / 1.512 GB, free: 3.094 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.536, allocations: 1.16 MB / 1.513 GB, free: 1.926 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006455/0.5366, allocations: 451.1 kB / 1.514 GB, free: 1.477 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/0.541, allocations: 2.164 MB / 1.516 GB, free: 15.3 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.5414, allocations: 374.4 kB / 1.516 GB, free: 14.94 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.5415, allocations: 40 kB / 1.516 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.5417, allocations: 87.94 kB / 1.516 GB, free: 14.81 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.5419, allocations: 271.2 kB / 1.517 GB, free: 14.55 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.5422, allocations: 282.5 kB / 1.517 GB, free: 14.27 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.5429, allocations: 0.6379 MB / 1.518 GB, free: 13.63 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5429, allocations: 3.984 kB / 1.518 GB, free: 13.62 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.113e-06/0.5429, allocations: 0 / 1.518 GB, free: 13.62 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5429, allocations: 0 / 1.518 GB, free: 13.62 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009844/0.5439, allocations: 0.7659 MB / 1.518 GB, free: 12.82 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5439, allocations: 8.031 kB / 1.518 GB, free: 12.82 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.544, allocations: 75.5 kB / 1.518 GB, free: 12.74 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.5447, allocations: 379.2 kB / 1.519 GB, free: 12.35 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.013e-05/0.5447, allocations: 41.3 kB / 1.519 GB, free: 12.31 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.5448, allocations: 56 kB / 1.519 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009822/0.5458, allocations: 0.6989 MB / 1.52 GB, free: 11.47 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5458, allocations: 3.938 kB / 1.52 GB, free: 11.47 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.5458, allocations: 28 kB / 1.52 GB, free: 11.44 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/0.5459, allocations: 31.92 kB / 1.52 GB, free: 11.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.5465, allocations: 375.4 kB / 1.52 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.5491, allocations: 3.157 MB / 1.523 GB, free: 7.75 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.5494, allocations: 218.1 kB / 1.523 GB, free: 7.445 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.5496, allocations: 128.5 kB / 1.523 GB, free: 7.289 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.5496, allocations: 7.984 kB / 1.523 GB, free: 7.281 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.5496, allocations: 50.5 kB / 1.524 GB, free: 7.223 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.5496, allocations: 0 / 1.524 GB, free: 7.223 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006503/0.5503, allocations: 257.7 kB / 1.524 GB, free: 6.965 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.5504, allocations: 286.7 kB / 1.524 GB, free: 6.617 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/0.5512, allocations: 0.6838 MB / 1.525 GB, free: 5.922 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.5512, allocations: 34.05 kB / 1.525 GB, free: 5.883 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.5514, allocations: 272.3 kB / 1.525 GB, free: 5.613 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.5515, allocations: 35.69 kB / 1.525 GB, free: 5.578 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.5515, allocations: 29.7 kB / 1.525 GB, free: 5.543 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.5517, allocations: 366.8 kB / 1.525 GB, free: 5.176 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.5518, allocations: 39.91 kB / 1.525 GB, free: 5.137 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.552, allocations: 97.09 kB / 1.526 GB, free: 5.023 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.5522, allocations: 129 kB / 1.526 GB, free: 4.879 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5522, allocations: 0 / 1.526 GB, free: 4.879 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003309/0.5525, allocations: 189.1 kB / 1.526 GB, free: 4.688 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5525, allocations: 4 kB / 1.526 GB, free: 4.684 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5526, allocations: 8.266 kB / 1.526 GB, free: 4.676 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5526, allocations: 4.188 kB / 1.526 GB, free: 4.672 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.5528, allocations: 43.89 kB / 1.526 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5528, allocations: 7.938 kB / 1.526 GB, free: 4.621 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.553, allocations: 59.5 kB / 1.526 GB, free: 4.562 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.553, allocations: 4 kB / 1.526 GB, free: 4.559 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001968/0.5532, allocations: 197.8 kB / 1.526 GB, free: 4.355 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.5534, allocations: 67.62 kB / 1.526 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.5535, allocations: 64.2 kB / 1.526 GB, free: 4.219 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5535, allocations: 4 kB / 1.526 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5535, allocations: 0 / 1.526 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5535, allocations: 7.938 kB / 1.526 GB, free: 4.207 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.5549, allocations: 1.272 MB / 1.528 GB, free: 2.852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5549, allocations: 0 / 1.528 GB, free: 2.852 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.555, allocations: 43.89 kB / 1.528 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.5551, allocations: 4.281 kB / 1.528 GB, free: 2.805 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.5551, allocations: 12.06 kB / 1.528 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5551, allocations: 4 kB / 1.528 GB, free: 2.789 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5551, allocations: 0 / 1.528 GB, free: 2.789 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.5555, allocations: 342.8 kB / 1.528 GB, free: 2.41 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.5556, allocations: 79.53 kB / 1.528 GB, free: 2.332 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.5557, allocations: 4.094 kB / 1.528 GB, free: 2.328 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5558, allocations: 19.92 kB / 1.528 GB, free: 2.309 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.5559, allocations: 15.92 kB / 1.528 GB, free: 2.293 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.5559, allocations: 4 kB / 1.528 GB, free: 2.289 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005381/0.5564, allocations: 0.4951 MB / 1.529 GB, free: 1.797 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.5564, allocations: 0 / 1.529 GB, free: 1.797 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003599/0.5568, allocations: 75.94 kB / 1.529 GB, free: 1.723 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 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.0001972/0.557, allocations: 131.1 kB / 1.529 GB, free: 1.586 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.5573, allocations: 103.8 kB / 1.529 GB, free: 1.484 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5573, allocations: 0 / 1.529 GB, free: 1.484 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5574, allocations: 60.77 kB / 1.529 GB, free: 1.426 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5586, allocations: 271.6 kB / 1.529 GB, free: 1.164 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.5599, allocations: 0.9515 MB / 1.53 GB, free: 148 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.5604, allocations: 0.9011 MB / 1.531 GB, free: 15.22 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.5605, allocations: 35.44 kB / 1.531 GB, free: 15.18 MB / 1.232 GB Notification: Performance of SimCode: time 3.01e-07/0.5605, allocations: 0 / 1.531 GB, free: 15.18 MB / 1.232 GB Notification: Performance of Templates: time 0.01173/0.5722, allocations: 7.866 MB / 1.539 GB, free: 7.383 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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: 11.755509309994522]