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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001453/0.001453, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.2 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1846/0.4725, allocations: 176 MB / 1.24 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.483, allocations: 8.712 MB / 1.249 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.484, allocations: 23.88 kB / 1.249 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008168/0.4849, allocations: 293.8 kB / 1.249 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008393/0.4857, allocations: 314.3 kB / 1.249 GB, free: 460 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.4868, allocations: 369.8 kB / 1.25 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5897/1.077, allocations: 1.151 MB / 1.251 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009992/1.078, allocations: 0.5871 MB / 1.251 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/1.082, allocations: 2.055 MB / 1.253 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/1.083, allocations: 346.2 kB / 1.254 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.484e-05/1.083, allocations: 40.81 kB / 1.254 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/1.083, allocations: 79.03 kB / 1.254 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/1.083, allocations: 261.7 kB / 1.254 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003211/1.084, allocations: 281.8 kB / 1.254 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006846/1.084, allocations: 0.6136 MB / 1.255 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.084, allocations: 1.781 kB / 1.255 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.815e-06/1.084, allocations: 0 / 1.255 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.085, allocations: 1.203 kB / 1.255 GB, free: 5.973 MB / 0.9981 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.001333/1.086, allocations: 0.8245 MB / 1.256 GB, free: 21.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.086, allocations: 8.812 kB / 1.256 GB, free: 21.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/1.086, allocations: 67.75 kB / 1.256 GB, free: 21.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/1.087, allocations: 416.7 kB / 1.256 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/1.087, allocations: 39.34 kB / 1.256 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/1.087, allocations: 55.81 kB / 1.256 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/1.088, allocations: 0.7052 MB / 1.257 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.088, allocations: 1.875 kB / 1.257 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/1.088, allocations: 25.92 kB / 1.257 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.244e-05/1.088, allocations: 36.5 kB / 1.257 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/1.089, allocations: 372 kB / 1.257 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/1.091, allocations: 3.226 MB / 1.26 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/1.091, allocations: 223.9 kB / 1.261 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/1.091, allocations: 128 kB / 1.261 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/1.091, allocations: 7.578 kB / 1.261 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/1.091, allocations: 50.12 kB / 1.261 GB, free: 18.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/1.091, allocations: 3.094 kB / 1.261 GB, free: 18.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007017/1.092, allocations: 246.9 kB / 1.261 GB, free: 18.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.092, allocations: 295.2 kB / 1.261 GB, free: 17.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/1.093, allocations: 0.6849 MB / 1.262 GB, free: 17.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/1.093, allocations: 30.03 kB / 1.262 GB, free: 17.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/1.093, allocations: 265.2 kB / 1.262 GB, free: 17.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/1.093, allocations: 33.33 kB / 1.262 GB, free: 17.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/1.094, allocations: 32.11 kB / 1.262 GB, free: 17.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.094, allocations: 369.1 kB / 1.263 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/1.094, allocations: 35.62 kB / 1.263 GB, free: 17.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/1.094, allocations: 94.86 kB / 1.263 GB, free: 17.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.094, allocations: 127.2 kB / 1.263 GB, free: 17.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.094, allocations: 0.6875 kB / 1.263 GB, free: 17.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003267/1.095, allocations: 195.8 kB / 1.263 GB, free: 17.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.095, allocations: 13.23 kB / 1.263 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.095, allocations: 0 / 1.263 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.095, allocations: 4.406 kB / 1.263 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/1.095, allocations: 40.95 kB / 1.263 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.095, allocations: 5.781 kB / 1.263 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/1.095, allocations: 54.61 kB / 1.263 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/1.095, allocations: 9.531 kB / 1.263 GB, free: 16.98 MB / 1.014 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.000186/1.095, allocations: 198.3 kB / 1.263 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/1.096, allocations: 68.31 kB / 1.264 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.507e-05/1.096, allocations: 57.62 kB / 1.264 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.096, allocations: 3.938 kB / 1.264 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.096, allocations: 4.969 kB / 1.264 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.096, allocations: 4.516 kB / 1.264 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/1.097, allocations: 1.3 MB / 1.265 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.097, allocations: 3.5 kB / 1.265 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/1.097, allocations: 47.73 kB / 1.265 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.097, allocations: 3.422 kB / 1.265 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/1.097, allocations: 5.688 kB / 1.265 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.097, allocations: 3.359 kB / 1.265 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.097, allocations: 6.594 kB / 1.265 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/1.098, allocations: 337.2 kB / 1.265 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/1.098, allocations: 154 kB / 1.265 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/1.098, allocations: 4.078 kB / 1.265 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.098, allocations: 12.27 kB / 1.265 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/1.098, allocations: 18.56 kB / 1.265 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/1.098, allocations: 5.766 kB / 1.265 GB, free: 15.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005024/1.099, allocations: 0.4961 MB / 1.266 GB, free: 15.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.099, allocations: 0 / 1.266 GB, free: 15.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003841/1.099, allocations: 85.34 kB / 1.266 GB, free: 15.39 MB / 1.014 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.0003066/1.099, allocations: 139.5 kB / 1.266 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003093/1.1, allocations: 104.9 kB / 1.266 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.1, allocations: 0.9375 kB / 1.266 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/1.1, allocations: 63.42 kB / 1.266 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.101, allocations: 288.6 kB / 1.267 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.102, allocations: 0.8804 MB / 1.267 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.103, allocations: 0.9046 MB / 1.268 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002596/1.103, allocations: 104.1 kB / 1.268 GB, free: 14.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/1.103, allocations: 34.75 kB / 1.268 GB, free: 14.13 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.103, allocations: 4.875 kB / 1.268 GB, free: 14.13 MB / 1.014 GB Notification: Performance of Templates: time 0.01932/1.122, allocations: 8.423 MB / 1.277 GB, free: 13.86 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) 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) Reference file matches