Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001787/0.001787, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002302/0.002302, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.482/1.482, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.782/2.782, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.861e-05/4.049e-05, allocations: 7.234 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2445/0.2445, allocations: 155.3 MB / 0.938 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.2577, allocations: 7.975 MB / 0.9458 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007787/0.2585, allocations: 27.75 kB / 0.9458 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.2596, allocations: 317.6 kB / 0.9461 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.2607, allocations: 330.2 kB / 0.9464 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.262, allocations: 431 kB / 0.9468 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.2638, allocations: 1.148 MB / 0.948 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009584/0.2647, allocations: 455.2 kB / 0.9484 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005884/0.2706, allocations: 2.26 MB / 0.9506 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006318/0.2712, allocations: 322.9 kB / 0.9509 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.2713, allocations: 40 kB / 0.9509 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.2716, allocations: 83.94 kB / 0.951 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.2719, allocations: 275.2 kB / 0.9513 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.2722, allocations: 191.5 kB / 0.9515 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2733, allocations: 0.6424 MB / 0.9521 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2733, allocations: 0 / 0.9521 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2733, allocations: 0 / 0.9521 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2733, allocations: 4 kB / 0.9521 GB, free: 2.551 MB / 0.9011 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.001253/0.2746, allocations: 0.758 MB / 0.9528 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.2746, allocations: 8.031 kB / 0.9528 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.2748, allocations: 115.5 kB / 0.953 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.2756, allocations: 395.3 kB / 0.9533 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.2757, allocations: 41.3 kB / 0.9534 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.2757, allocations: 52 kB / 0.9534 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.277, allocations: 0.7066 MB / 0.9541 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.277, allocations: 0 / 0.9541 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.2771, allocations: 27.98 kB / 0.9541 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/0.2771, allocations: 35.92 kB / 0.9542 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.2779, allocations: 367.4 kB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.2809, allocations: 2.885 MB / 0.9573 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.2813, allocations: 218.1 kB / 0.9576 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.2815, allocations: 128.5 kB / 0.9577 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2816, allocations: 15.98 kB / 0.9577 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.2816, allocations: 42.48 kB / 0.9577 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.2816, allocations: 0 / 0.9577 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.000779/0.2824, allocations: 230 kB / 0.9579 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.2826, allocations: 286.7 kB / 0.9582 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2829, allocations: 272.5 kB / 0.9585 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.2829, allocations: 29.7 kB / 0.9585 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.2832, allocations: 304.2 kB / 0.9588 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.2836, allocations: 35.64 kB / 0.9588 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.2836, allocations: 29.7 kB / 0.9589 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.2839, allocations: 339.1 kB / 0.9592 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.284, allocations: 43.95 kB / 0.9592 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.2843, allocations: 221.6 kB / 0.9594 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.2846, allocations: 121 kB / 0.9596 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2846, allocations: 4 kB / 0.9596 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000365/0.2849, allocations: 161.3 kB / 0.9597 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2849, allocations: 8 kB / 0.9597 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.285, allocations: 336 / 0.9597 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.285, allocations: 4 kB / 0.9597 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.2852, allocations: 40.14 kB / 0.9598 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2852, allocations: 7.938 kB / 0.9598 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.2854, allocations: 27.88 kB / 0.9598 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.2854, allocations: 8 kB / 0.9598 GB, free: 10.08 MB / 0.9167 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.0002484/0.2856, allocations: 205.7 kB / 0.96 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.2858, allocations: 31.86 kB / 0.96 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.2859, allocations: 28.98 kB / 0.9601 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2859, allocations: 4 kB / 0.9601 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2859, allocations: 8 kB / 0.9601 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2859, allocations: 3.938 kB / 0.9601 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.2876, allocations: 1.206 MB / 0.9613 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2876, allocations: 4 kB / 0.9613 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.2878, allocations: 39.95 kB / 0.9613 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2878, allocations: 4.281 kB / 0.9613 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2878, allocations: 4 kB / 0.9613 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.2878, allocations: 4 kB / 0.9613 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.2878, allocations: 7.938 kB / 0.9613 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.2883, allocations: 298.9 kB / 0.9616 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.2883, allocations: 31.84 kB / 0.9616 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.2884, allocations: 4 kB / 0.9616 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2885, allocations: 19.98 kB / 0.9617 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.2886, allocations: 11.92 kB / 0.9617 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2886, allocations: 7.938 kB / 0.9617 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002321/0.2888, allocations: 199.1 kB / 0.9619 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2888, allocations: 0 / 0.9619 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004649/0.2893, allocations: 119.4 kB / 0.962 GB, free: 7.734 MB / 0.9167 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.0002314/0.2895, allocations: 123.2 kB / 0.9621 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.2898, allocations: 107.8 kB / 0.9622 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2898, allocations: 0 / 0.9622 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.29, allocations: 63.83 kB / 0.9623 GB, free: 7.434 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.2907, allocations: 97.78 kB / 0.9623 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2921, allocations: 0.8301 MB / 0.9632 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2925, allocations: 312.6 kB / 0.9635 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.2927, allocations: 53.89 kB / 0.9635 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.2927, allocations: 20.5 kB / 0.9635 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.2927, allocations: 3.938 kB / 0.9635 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of Templates: time 0.008841/0.3016, allocations: 3.175 MB / 0.9666 GB, free: 2.977 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.075951982988045]