Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00196/0.00196, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002557/0.002557, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.231/3.231, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 3.938 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.298e-05, allocations: 3.906 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2287/0.2287, allocations: 155.3 MB / 1.029 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.2411, allocations: 7.953 MB / 1.037 GB, free: 2.723 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005648/0.2416, allocations: 27.75 kB / 1.037 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008802/0.2425, allocations: 313.7 kB / 1.037 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007938/0.2433, allocations: 318.1 kB / 1.038 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.2445, allocations: 411.1 kB / 1.038 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.2459, allocations: 1.082 MB / 1.039 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.2467, allocations: 404.6 kB / 1.039 GB, free: 188 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005551/0.2522, allocations: 2.225 MB / 1.042 GB, free: 13.95 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.2527, allocations: 311 kB / 1.042 GB, free: 13.64 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.2528, allocations: 40 kB / 1.042 GB, free: 13.61 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.253, allocations: 87.88 kB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.2534, allocations: 283.2 kB / 1.042 GB, free: 13.24 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.2537, allocations: 187.5 kB / 1.042 GB, free: 13.06 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000902/0.2546, allocations: 0.6307 MB / 1.043 GB, free: 12.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2546, allocations: 0 / 1.043 GB, free: 12.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2546, allocations: 0 / 1.043 GB, free: 12.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.2546, allocations: 0 / 1.043 GB, free: 12.43 MB / 1.01 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.001247/0.2558, allocations: 0.7425 MB / 1.044 GB, free: 11.65 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2559, allocations: 12.03 kB / 1.044 GB, free: 11.64 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.2561, allocations: 115.5 kB / 1.044 GB, free: 11.53 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.2569, allocations: 383.4 kB / 1.044 GB, free: 11.12 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.2569, allocations: 41.31 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/0.257, allocations: 59.92 kB / 1.044 GB, free: 11.03 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2583, allocations: 0.6949 MB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.2583, allocations: 7.938 kB / 1.045 GB, free: 10.24 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.2584, allocations: 23.98 kB / 1.045 GB, free: 10.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/0.2584, allocations: 27.98 kB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007503/0.2592, allocations: 379.4 kB / 1.046 GB, free: 9.816 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.2626, allocations: 2.869 MB / 1.048 GB, free: 6.824 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.263, allocations: 222.4 kB / 1.049 GB, free: 6.516 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.2632, allocations: 120.6 kB / 1.049 GB, free: 6.367 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2632, allocations: 11.98 kB / 1.049 GB, free: 6.355 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.2633, allocations: 46.44 kB / 1.049 GB, free: 6.301 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.2633, allocations: 3.938 kB / 1.049 GB, free: 6.297 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0007636/0.2641, allocations: 221.1 kB / 1.049 GB, free: 6.074 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/0.2643, allocations: 295.9 kB / 1.049 GB, free: 5.719 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2646, allocations: 264.5 kB / 1.049 GB, free: 5.453 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.2647, allocations: 25.7 kB / 1.049 GB, free: 5.422 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.2649, allocations: 308.2 kB / 1.05 GB, free: 5.117 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.265, allocations: 31.73 kB / 1.05 GB, free: 5.086 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.2651, allocations: 37.66 kB / 1.05 GB, free: 5.043 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.2653, allocations: 334.8 kB / 1.05 GB, free: 4.707 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2654, allocations: 31.97 kB / 1.05 GB, free: 4.676 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.2657, allocations: 229.6 kB / 1.05 GB, free: 4.402 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.266, allocations: 133 kB / 1.051 GB, free: 4.254 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.266, allocations: 0 / 1.051 GB, free: 4.254 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003876/0.2664, allocations: 161.5 kB / 1.051 GB, free: 4.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2664, allocations: 8 kB / 1.051 GB, free: 4.082 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2664, allocations: 4 kB / 1.051 GB, free: 4.078 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2665, allocations: 0 / 1.051 GB, free: 4.078 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.2667, allocations: 39.95 kB / 1.051 GB, free: 4.039 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2667, allocations: 3.938 kB / 1.051 GB, free: 4.035 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2669, allocations: 15.92 kB / 1.051 GB, free: 4.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.2669, allocations: 12 kB / 1.051 GB, free: 4.008 MB / 1.01 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.0002715/0.2672, allocations: 201.7 kB / 1.051 GB, free: 3.801 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.2673, allocations: 35.8 kB / 1.051 GB, free: 3.766 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.2674, allocations: 28.92 kB / 1.051 GB, free: 3.738 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2674, allocations: 4 kB / 1.051 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2674, allocations: 4 kB / 1.051 GB, free: 3.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2674, allocations: 3.938 kB / 1.051 GB, free: 3.727 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.269, allocations: 1.199 MB / 1.052 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2691, allocations: 8.031 kB / 1.052 GB, free: 2.449 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.2693, allocations: 35.95 kB / 1.052 GB, free: 2.414 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2693, allocations: 4 kB / 1.052 GB, free: 2.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2693, allocations: 7.938 kB / 1.052 GB, free: 2.402 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2693, allocations: 4 kB / 1.052 GB, free: 2.398 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2693, allocations: 0 / 1.052 GB, free: 2.398 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.2698, allocations: 307.1 kB / 1.053 GB, free: 2.055 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.2698, allocations: 43.67 kB / 1.053 GB, free: 2.012 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.2699, allocations: 4 kB / 1.053 GB, free: 2.008 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.27, allocations: 8 kB / 1.053 GB, free: 2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2701, allocations: 15.92 kB / 1.053 GB, free: 1.984 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.2701, allocations: 7.938 kB / 1.053 GB, free: 1.977 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002145/0.2703, allocations: 191.1 kB / 1.053 GB, free: 1.789 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2703, allocations: 0 / 1.053 GB, free: 1.789 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004696/0.2708, allocations: 119.5 kB / 1.053 GB, free: 1.672 MB / 1.01 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.0002664/0.271, allocations: 131.1 kB / 1.053 GB, free: 1.531 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.2714, allocations: 99.8 kB / 1.053 GB, free: 1.434 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2714, allocations: 0 / 1.053 GB, free: 1.434 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.2715, allocations: 60.83 kB / 1.053 GB, free: 1.375 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.2721, allocations: 79.2 kB / 1.053 GB, free: 1.301 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2736, allocations: 0.8262 MB / 1.054 GB, free: 424 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.2742, allocations: 304.4 kB / 1.054 GB, free: 96 kB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.2743, allocations: 53.91 kB / 1.054 GB, free: 44 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.2743, allocations: 24.48 kB / 1.054 GB, free: 16 kB / 1.01 GB Notification: Performance of SimCode: time 8.71e-07/0.2743, allocations: 0 / 1.054 GB, free: 16 kB / 1.01 GB Notification: Performance of Templates: time 0.4313/0.7057, allocations: 2.805 MB / 1.057 GB, free: 58.71 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.965564755024388]