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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001622, allocations: 106.1 kB / 15.98 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001835, allocations: 200.9 kB / 16.91 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 68.23 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3204, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7212/1.042, allocations: 173.6 MB / 1.234 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01196/1.054, allocations: 8.643 MB / 1.242 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008186/1.054, allocations: 19.81 kB / 1.242 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009376/1.055, allocations: 250.4 kB / 1.242 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009799/1.056, allocations: 286.7 kB / 1.243 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/1.058, allocations: 335.5 kB / 1.243 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001568/1.059, allocations: 1.148 MB / 1.244 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009306/1.06, allocations: 0.5646 MB / 1.245 GB, free: 324 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/1.065, allocations: 1.993 MB / 1.247 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/1.066, allocations: 374.4 kB / 1.247 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/1.066, allocations: 40 kB / 1.247 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/1.066, allocations: 75.95 kB / 1.247 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/1.066, allocations: 259.3 kB / 1.247 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003082/1.067, allocations: 282.5 kB / 1.248 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006099/1.067, allocations: 479 kB / 1.248 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.067, allocations: 4 kB / 1.248 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/1.067, allocations: 0 / 1.248 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.067, allocations: 4 kB / 1.248 GB, free: 12.83 MB / 0.9669 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.001117/1.068, allocations: 0.8151 MB / 1.249 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.068, allocations: 8.031 kB / 1.249 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/1.068, allocations: 71.19 kB / 1.249 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/1.069, allocations: 410.1 kB / 1.249 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/1.069, allocations: 49.23 kB / 1.249 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/1.069, allocations: 52 kB / 1.249 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.07, allocations: 0.6995 MB / 1.25 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.07, allocations: 3.938 kB / 1.25 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/1.07, allocations: 27.98 kB / 1.25 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/1.07, allocations: 39.92 kB / 1.25 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/1.071, allocations: 375.3 kB / 1.251 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/1.074, allocations: 3.219 MB / 1.254 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/1.074, allocations: 218.1 kB / 1.254 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/1.075, allocations: 132.5 kB / 1.254 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/1.075, allocations: 0 / 1.254 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/1.075, allocations: 50.48 kB / 1.254 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/1.075, allocations: 4 kB / 1.254 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007227/1.075, allocations: 253.7 kB / 1.254 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.076, allocations: 286.7 kB / 1.255 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008555/1.076, allocations: 0.6877 MB / 1.255 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/1.076, allocations: 29.7 kB / 1.255 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/1.077, allocations: 268.2 kB / 1.256 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/1.077, allocations: 31.55 kB / 1.256 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/1.077, allocations: 33.64 kB / 1.256 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.077, allocations: 370.8 kB / 1.256 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.077, allocations: 39.91 kB / 1.256 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.077, allocations: 93.11 kB / 1.256 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/1.078, allocations: 125 kB / 1.256 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.078, allocations: 4 kB / 1.256 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003609/1.078, allocations: 196.7 kB / 1.256 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.078, allocations: 4 kB / 1.256 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.078, allocations: 0 / 1.256 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.078, allocations: 7.938 kB / 1.256 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/1.078, allocations: 44.22 kB / 1.256 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.078, allocations: 4.188 kB / 1.256 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/1.079, allocations: 63.27 kB / 1.257 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/1.079, allocations: 11.94 kB / 1.257 GB, free: 3.57 MB / 0.9669 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.0002213/1.079, allocations: 201.8 kB / 1.257 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/1.079, allocations: 59.34 kB / 1.257 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/1.079, allocations: 64.25 kB / 1.257 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.079, allocations: 8 kB / 1.257 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.079, allocations: 4 kB / 1.257 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.079, allocations: 7.984 kB / 1.257 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/1.081, allocations: 1.3 MB / 1.258 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.081, allocations: 4 kB / 1.258 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/1.081, allocations: 39.95 kB / 1.258 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.081, allocations: 7.938 kB / 1.258 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.081, allocations: 4 kB / 1.258 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.081, allocations: 5.031 kB / 1.258 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.081, allocations: 8 kB / 1.258 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/1.081, allocations: 326.4 kB / 1.258 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/1.082, allocations: 152.3 kB / 1.259 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/1.082, allocations: 7.984 kB / 1.259 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/1.082, allocations: 16.27 kB / 1.259 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/1.082, allocations: 19.86 kB / 1.259 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.082, allocations: 8.5 kB / 1.259 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006015/1.082, allocations: 0.495 MB / 1.259 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/1.082, allocations: 0 / 1.259 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004011/1.083, allocations: 83.84 kB / 1.259 GB, free: 0.6094 MB / 0.9669 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.0003409/1.083, allocations: 143.5 kB / 1.259 GB, free: 480 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003328/1.084, allocations: 111.8 kB / 1.259 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.084, allocations: 0 / 1.259 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/1.084, allocations: 60.39 kB / 1.26 GB, free: 308 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.085, allocations: 284.5 kB / 1.26 GB, free: 28 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.087, allocations: 1.057 MB / 1.261 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/1.087, allocations: 0.9087 MB / 1.262 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/1.087, allocations: 35.44 kB / 1.262 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/1.087, allocations: 0 / 1.262 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of Templates: time 0.01276/1.1, allocations: 7.781 MB / 1.269 GB, free: 6.227 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches