Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001429/0.001429, allocations: 113.4 kB / 16.41 MB, free: 6.492 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.001343/0.001343, allocations: 183 kB / 17.34 MB, free: 5.762 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8422/0.8435, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2108/1.054, allocations: 176 MB / 1.26 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01168/1.066, allocations: 8.721 MB / 1.269 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/1.067, allocations: 23.81 kB / 1.269 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/1.068, allocations: 297.8 kB / 1.269 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/1.07, allocations: 306.4 kB / 1.27 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/1.071, allocations: 375 kB / 1.27 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001685/1.073, allocations: 1.148 MB / 1.271 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/1.074, allocations: 0.5939 MB / 1.272 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/1.079, allocations: 2.062 MB / 1.274 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/1.08, allocations: 350.4 kB / 1.274 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/1.08, allocations: 40 kB / 1.274 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/1.08, allocations: 75.97 kB / 1.274 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/1.081, allocations: 259.3 kB / 1.274 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000457/1.081, allocations: 286.5 kB / 1.275 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009601/1.082, allocations: 0.6267 MB / 1.275 GB, free: 14.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.082, allocations: 3.984 kB / 1.275 GB, free: 14.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.784e-06/1.082, allocations: 4 kB / 1.275 GB, free: 14.6 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.791e-05/1.082, allocations: 0 / 1.275 GB, free: 14.6 MB / 1.014 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.001293/1.083, allocations: 0.8223 MB / 1.276 GB, free: 13.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.084, allocations: 16.02 kB / 1.276 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/1.084, allocations: 67.19 kB / 1.276 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/1.084, allocations: 442.1 kB / 1.277 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/1.085, allocations: 41.31 kB / 1.277 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/1.085, allocations: 51.98 kB / 1.277 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/1.086, allocations: 0.7105 MB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/1.086, allocations: 7.938 kB / 1.277 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/1.086, allocations: 19.98 kB / 1.277 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/1.086, allocations: 35.92 kB / 1.277 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006117/1.086, allocations: 371.4 kB / 1.278 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/1.089, allocations: 3.215 MB / 1.281 GB, free: 8.504 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/1.089, allocations: 214.1 kB / 1.281 GB, free: 8.203 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/1.09, allocations: 128.5 kB / 1.281 GB, free: 8.047 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/1.09, allocations: 11.98 kB / 1.281 GB, free: 8.035 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/1.09, allocations: 43 kB / 1.281 GB, free: 7.984 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/1.09, allocations: 0 / 1.281 GB, free: 7.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007306/1.09, allocations: 252.5 kB / 1.282 GB, free: 7.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.091, allocations: 295.9 kB / 1.282 GB, free: 7.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/1.091, allocations: 0.6838 MB / 1.282 GB, free: 6.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/1.091, allocations: 33.7 kB / 1.282 GB, free: 6.641 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/1.092, allocations: 264.2 kB / 1.283 GB, free: 6.379 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/1.092, allocations: 35.45 kB / 1.283 GB, free: 6.344 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/1.092, allocations: 29.72 kB / 1.283 GB, free: 6.309 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.092, allocations: 370.8 kB / 1.283 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/1.092, allocations: 31.97 kB / 1.283 GB, free: 5.906 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/1.092, allocations: 105 kB / 1.283 GB, free: 5.785 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/1.092, allocations: 129.4 kB / 1.283 GB, free: 5.641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.093, allocations: 0 / 1.283 GB, free: 5.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003914/1.093, allocations: 185 kB / 1.284 GB, free: 5.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.093, allocations: 11.97 kB / 1.284 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.093, allocations: 7.938 kB / 1.284 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.093, allocations: 0 / 1.284 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.093, allocations: 43.95 kB / 1.284 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.093, allocations: 3.938 kB / 1.284 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/1.093, allocations: 59.27 kB / 1.284 GB, free: 5.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/1.094, allocations: 4 kB / 1.284 GB, free: 5.324 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.0002225/1.094, allocations: 209.7 kB / 1.284 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/1.094, allocations: 59.33 kB / 1.284 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.449e-05/1.094, allocations: 64.33 kB / 1.284 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.094, allocations: 8 kB / 1.284 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.094, allocations: 0 / 1.284 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.094, allocations: 4 kB / 1.284 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/1.096, allocations: 1.3 MB / 1.285 GB, free: 3.578 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.096, allocations: 3.984 kB / 1.285 GB, free: 3.574 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/1.096, allocations: 44.25 kB / 1.285 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/1.096, allocations: 4 kB / 1.285 GB, free: 3.527 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/1.096, allocations: 7.984 kB / 1.285 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.096, allocations: 3.938 kB / 1.285 GB, free: 3.516 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.096, allocations: 4 kB / 1.285 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/1.096, allocations: 334.3 kB / 1.286 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.096, allocations: 152.4 kB / 1.286 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/1.096, allocations: 4 kB / 1.286 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/1.097, allocations: 11.98 kB / 1.286 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/1.097, allocations: 19.86 kB / 1.286 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/1.097, allocations: 4 kB / 1.286 GB, free: 2.934 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005214/1.097, allocations: 0.4951 MB / 1.286 GB, free: 2.445 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.097, allocations: 0 / 1.286 GB, free: 2.445 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004039/1.098, allocations: 83.91 kB / 1.286 GB, free: 2.363 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.0003368/1.098, allocations: 139.8 kB / 1.287 GB, free: 2.223 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003188/1.098, allocations: 112.1 kB / 1.287 GB, free: 2.113 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.098, allocations: 3.938 kB / 1.287 GB, free: 2.109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.098, allocations: 55.89 kB / 1.287 GB, free: 2.055 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.1, allocations: 290.8 kB / 1.287 GB, free: 1.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.101, allocations: 0.9172 MB / 1.288 GB, free: 0.793 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/1.102, allocations: 0.9127 MB / 1.289 GB, free: 15.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/1.102, allocations: 35.44 kB / 1.289 GB, free: 15.82 MB / 1.029 GB Notification: Performance of SimCode: time 2.41e-07/1.102, allocations: 0 / 1.289 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Templates: time 0.01329/1.115, allocations: 7.84 MB / 1.296 GB, free: 8.039 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches