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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001409/0.001409, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001451/0.001451, allocations: 196.9 kB / 16.14 MB, free: 6.715 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 461.8 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 67.55 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3283, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.182/0.5104, allocations: 173.7 MB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.5205, allocations: 8.695 MB / 1.23 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.5213, allocations: 19.88 kB / 1.23 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.5221, allocations: 246.3 kB / 1.231 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008352/0.523, allocations: 298.6 kB / 1.231 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009574/0.5239, allocations: 334.7 kB / 1.231 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.5257, allocations: 1.609 MB / 1.233 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008763/0.5266, allocations: 0.5084 MB / 1.233 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005277/0.5319, allocations: 1.927 MB / 1.235 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.5324, allocations: 366.3 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.5325, allocations: 28 kB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.5327, allocations: 67.95 kB / 1.236 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.533, allocations: 243.3 kB / 1.236 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.5333, allocations: 282.4 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.5339, allocations: 0.6034 MB / 1.237 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5339, allocations: 0 / 1.237 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5339, allocations: 0 / 1.237 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.534, allocations: 0 / 1.237 GB, free: 11.28 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.001298/0.5353, allocations: 0.8185 MB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5353, allocations: 8.031 kB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.5354, allocations: 71.19 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.536, allocations: 414.1 kB / 1.238 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.5361, allocations: 45.3 kB / 1.238 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.5361, allocations: 48 kB / 1.238 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5372, allocations: 0.7042 MB / 1.239 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.5372, allocations: 3.938 kB / 1.239 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.5373, allocations: 23.98 kB / 1.239 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/0.5374, allocations: 39.91 kB / 1.239 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.538, allocations: 380.3 kB / 1.239 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.5408, allocations: 3.223 MB / 1.242 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.5411, allocations: 214.1 kB / 1.242 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.5413, allocations: 128.6 kB / 1.243 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.5413, allocations: 4 kB / 1.243 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.5414, allocations: 54.42 kB / 1.243 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.5414, allocations: 0 / 1.243 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007783/0.5422, allocations: 257.3 kB / 1.243 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.5423, allocations: 290.7 kB / 1.243 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.5431, allocations: 0.6799 MB / 1.244 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.5431, allocations: 34.11 kB / 1.244 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.5434, allocations: 276.1 kB / 1.244 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.5434, allocations: 35.53 kB / 1.244 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.5435, allocations: 29.72 kB / 1.244 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5437, allocations: 370.8 kB / 1.244 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5438, allocations: 31.97 kB / 1.245 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.5439, allocations: 101.1 kB / 1.245 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.5442, allocations: 125 kB / 1.245 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5442, allocations: 0 / 1.245 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003561/0.5446, allocations: 188.8 kB / 1.245 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5446, allocations: 4 kB / 1.245 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5446, allocations: 11.94 kB / 1.245 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5446, allocations: 192 / 1.245 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.5449, allocations: 52.22 kB / 1.245 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5449, allocations: 3.984 kB / 1.245 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.5451, allocations: 63.27 kB / 1.245 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.5452, allocations: 7.938 kB / 1.245 GB, free: 2.004 MB / 0.9981 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.0002551/0.5454, allocations: 209.7 kB / 1.245 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.5457, allocations: 55.34 kB / 1.245 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.5458, allocations: 64.27 kB / 1.245 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5458, allocations: 4 kB / 1.245 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5458, allocations: 0 / 1.245 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5459, allocations: 7.984 kB / 1.245 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.5473, allocations: 1.297 MB / 1.247 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5473, allocations: 4 kB / 1.247 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.5475, allocations: 48.17 kB / 1.247 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5476, allocations: 8 kB / 1.247 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5476, allocations: 4 kB / 1.247 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5476, allocations: 0 / 1.247 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5476, allocations: 4 kB / 1.247 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5353/1.083, allocations: 335.6 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/1.083, allocations: 144.9 kB / 1.247 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/1.083, allocations: 9.984 kB / 1.247 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/1.083, allocations: 19 kB / 1.247 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/1.084, allocations: 15.89 kB / 1.247 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/1.084, allocations: 5.219 kB / 1.247 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006918/1.084, allocations: 0.4942 MB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.084, allocations: 0 / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004308/1.085, allocations: 80.77 kB / 1.248 GB, free: 197 MB / 0.9981 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.0003404/1.085, allocations: 131.5 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003403/1.085, allocations: 104.9 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.085, allocations: 0 / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/1.086, allocations: 64.98 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.087, allocations: 272.2 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.088, allocations: 1.011 MB / 1.249 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/1.089, allocations: 0.9044 MB / 1.25 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002982/1.089, allocations: 105.2 kB / 1.25 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/1.089, allocations: 38.25 kB / 1.25 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.089, allocations: 0 / 1.25 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.01609/1.105, allocations: 8.053 MB / 1.258 GB, free: 195.3 MB / 0.9981 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