Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001773/0.001773, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001901/0.001901, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.1 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.33 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7136/1.029, allocations: 176 MB / 1.19 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01142/1.041, allocations: 8.707 MB / 1.198 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/1.042, allocations: 25.38 kB / 1.198 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008477/1.043, allocations: 303.3 kB / 1.199 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007954/1.043, allocations: 303.6 kB / 1.199 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/1.044, allocations: 371.6 kB / 1.199 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001293/1.046, allocations: 1.146 MB / 1.2 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/1.047, allocations: 0.5921 MB / 1.201 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004933/1.051, allocations: 2.057 MB / 1.203 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/1.052, allocations: 350.5 kB / 1.203 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/1.052, allocations: 37.78 kB / 1.203 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/1.052, allocations: 83.94 kB / 1.203 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/1.053, allocations: 249.5 kB / 1.204 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/1.053, allocations: 284.9 kB / 1.204 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007288/1.054, allocations: 0.6198 MB / 1.205 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.054, allocations: 0 / 1.205 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/1.054, allocations: 4 kB / 1.205 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.054, allocations: 0 / 1.205 GB, free: 5.664 MB / 0.9044 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.001063/1.055, allocations: 0.8164 MB / 1.205 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.055, allocations: 10.39 kB / 1.205 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/1.055, allocations: 67.56 kB / 1.205 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/1.056, allocations: 422 kB / 1.206 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/1.056, allocations: 44.55 kB / 1.206 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/1.056, allocations: 49.88 kB / 1.206 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/1.057, allocations: 0.7024 MB / 1.207 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.057, allocations: 6.906 kB / 1.207 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/1.057, allocations: 23.44 kB / 1.207 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/1.057, allocations: 32.83 kB / 1.207 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/1.058, allocations: 375.1 kB / 1.207 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/1.06, allocations: 3.235 MB / 1.21 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/1.061, allocations: 218.6 kB / 1.21 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/1.061, allocations: 131.3 kB / 1.211 GB, free: 436 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/1.061, allocations: 2.562 kB / 1.211 GB, free: 436 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.061, allocations: 51.78 kB / 1.211 GB, free: 380 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/1.061, allocations: 0 / 1.211 GB, free: 380 kB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006987/1.062, allocations: 256.2 kB / 1.211 GB, free: 228 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/1.062, allocations: 295.1 kB / 1.211 GB, free: 15.87 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/1.063, allocations: 0.6767 MB / 1.212 GB, free: 15.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/1.063, allocations: 32.45 kB / 1.212 GB, free: 15.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/1.063, allocations: 265 kB / 1.212 GB, free: 15.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/1.063, allocations: 36.39 kB / 1.212 GB, free: 15.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/1.063, allocations: 32.08 kB / 1.212 GB, free: 15.17 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.063, allocations: 367.8 kB / 1.212 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.063, allocations: 37.92 kB / 1.213 GB, free: 14.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/1.064, allocations: 98.67 kB / 1.213 GB, free: 14.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/1.064, allocations: 130 kB / 1.213 GB, free: 14.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.064, allocations: 0 / 1.213 GB, free: 14.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003568/1.064, allocations: 183.7 kB / 1.213 GB, free: 14.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.064, allocations: 4.844 kB / 1.213 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.064, allocations: 2.25 kB / 1.213 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.064, allocations: 6.969 kB / 1.213 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/1.064, allocations: 49.2 kB / 1.213 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.064, allocations: 2.688 kB / 1.213 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/1.065, allocations: 52.36 kB / 1.213 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/1.065, allocations: 7.844 kB / 1.213 GB, free: 14.46 MB / 0.92 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.0002023/1.065, allocations: 200.6 kB / 1.213 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/1.065, allocations: 61.12 kB / 1.213 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.99e-05/1.065, allocations: 61.39 kB / 1.213 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.065, allocations: 6.906 kB / 1.213 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.065, allocations: 8.922 kB / 1.213 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.065, allocations: 2.125 kB / 1.213 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/1.067, allocations: 1.304 MB / 1.215 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.067, allocations: 0 / 1.215 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/1.067, allocations: 47.58 kB / 1.215 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.067, allocations: 4.469 kB / 1.215 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.067, allocations: 3.469 kB / 1.215 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.067, allocations: 6.281 kB / 1.215 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.067, allocations: 6.438 kB / 1.215 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/1.067, allocations: 336.1 kB / 1.215 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.068, allocations: 150.6 kB / 1.215 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/1.068, allocations: 9.188 kB / 1.215 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/1.068, allocations: 8.281 kB / 1.215 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.068, allocations: 17.86 kB / 1.215 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.068, allocations: 8.938 kB / 1.215 GB, free: 12.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005502/1.068, allocations: 0.4895 MB / 1.216 GB, free: 12.24 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.068, allocations: 0 / 1.216 GB, free: 12.24 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003806/1.069, allocations: 81.16 kB / 1.216 GB, free: 12.23 MB / 0.92 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.0003393/1.069, allocations: 149 kB / 1.216 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003216/1.07, allocations: 106.2 kB / 1.216 GB, free: 12.07 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.07, allocations: 0 / 1.216 GB, free: 12.07 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/1.07, allocations: 63.97 kB / 1.216 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/1.071, allocations: 293.5 kB / 1.216 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.072, allocations: 0.9341 MB / 1.217 GB, free: 11.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/1.073, allocations: 0.8996 MB / 1.218 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/1.073, allocations: 41.66 kB / 1.218 GB, free: 10.44 MB / 0.92 GB Notification: Performance of SimCode: time 4.21e-07/1.073, allocations: 3.938 kB / 1.218 GB, free: 10.43 MB / 0.92 GB Notification: Performance of Templates: time 0.01253/1.085, allocations: 7.796 MB / 1.226 GB, free: 3.922 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches