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.001219/0.001225, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001092/0.001092, allocations: 183 kB / 17.34 MB, free: 5.766 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.336/1.336, 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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8927, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2231/1.116, allocations: 176 MB / 1.26 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01084/1.127, allocations: 8.735 MB / 1.269 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/1.128, allocations: 23.88 kB / 1.269 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/1.129, allocations: 293.8 kB / 1.269 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/1.13, allocations: 302.4 kB / 1.27 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/1.131, allocations: 393.6 kB / 1.27 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001508/1.133, allocations: 1.144 MB / 1.271 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009615/1.134, allocations: 0.5822 MB / 1.272 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004922/1.139, allocations: 2.066 MB / 1.274 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/1.139, allocations: 354.4 kB / 1.274 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/1.139, allocations: 40 kB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/1.14, allocations: 79.95 kB / 1.274 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/1.14, allocations: 259.3 kB / 1.274 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004261/1.141, allocations: 286.5 kB / 1.275 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007919/1.141, allocations: 0.6306 MB / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.141, allocations: 0 / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/1.141, allocations: 0 / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.025e-05/1.141, allocations: 0 / 1.275 GB, free: 14.57 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.001168/1.143, allocations: 0.8262 MB / 1.276 GB, free: 13.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.143, allocations: 8.031 kB / 1.276 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/1.143, allocations: 71.19 kB / 1.276 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/1.144, allocations: 446 kB / 1.277 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/1.144, allocations: 41.31 kB / 1.277 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/1.144, allocations: 55.98 kB / 1.277 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/1.145, allocations: 0.6988 MB / 1.277 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/1.145, allocations: 3.938 kB / 1.277 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/1.145, allocations: 31.98 kB / 1.277 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/1.145, allocations: 27.92 kB / 1.277 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/1.145, allocations: 375.4 kB / 1.278 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/1.148, allocations: 3.207 MB / 1.281 GB, free: 8.484 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/1.148, allocations: 222 kB / 1.281 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/1.149, allocations: 132.6 kB / 1.281 GB, free: 8.016 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/1.149, allocations: 0 / 1.281 GB, free: 8.016 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/1.149, allocations: 47 kB / 1.281 GB, free: 7.961 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/1.149, allocations: 0 / 1.281 GB, free: 7.961 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007116/1.149, allocations: 257.3 kB / 1.282 GB, free: 7.703 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.149, allocations: 286.7 kB / 1.282 GB, free: 7.355 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/1.15, allocations: 0.6877 MB / 1.282 GB, free: 6.656 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/1.15, allocations: 26.11 kB / 1.282 GB, free: 6.625 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/1.15, allocations: 272.1 kB / 1.283 GB, free: 6.355 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/1.151, allocations: 39.45 kB / 1.283 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/1.151, allocations: 29.66 kB / 1.283 GB, free: 6.281 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.151, allocations: 370.8 kB / 1.283 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/1.151, allocations: 35.97 kB / 1.283 GB, free: 5.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/1.151, allocations: 101.1 kB / 1.283 GB, free: 5.758 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/1.151, allocations: 125 kB / 1.283 GB, free: 5.617 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.151, allocations: 0 / 1.283 GB, free: 5.617 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003562/1.152, allocations: 184.8 kB / 1.284 GB, free: 5.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.152, allocations: 8.328 kB / 1.284 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.152, allocations: 3.938 kB / 1.284 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.152, allocations: 4.188 kB / 1.284 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/1.152, allocations: 47.83 kB / 1.284 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.152, allocations: 4 kB / 1.284 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/1.152, allocations: 55.27 kB / 1.284 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/1.152, allocations: 15.98 kB / 1.284 GB, free: 5.293 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.0002064/1.152, allocations: 205.7 kB / 1.284 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.153, allocations: 55.34 kB / 1.284 GB, free: 5.027 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/1.153, allocations: 68.27 kB / 1.284 GB, free: 4.953 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.153, allocations: 7.938 kB / 1.284 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.153, allocations: 8.062 kB / 1.284 GB, free: 4.938 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.153, allocations: 4 kB / 1.284 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/1.154, allocations: 1.3 MB / 1.285 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.154, allocations: 4 kB / 1.285 GB, free: 3.539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.154, allocations: 43.89 kB / 1.285 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.154, allocations: 0 / 1.285 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/1.154, allocations: 4.281 kB / 1.285 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.154, allocations: 8 kB / 1.285 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.154, allocations: 4 kB / 1.285 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/1.155, allocations: 338.3 kB / 1.286 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/1.155, allocations: 148.6 kB / 1.286 GB, free: 2.941 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/1.155, allocations: 7.984 kB / 1.286 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/1.155, allocations: 12 kB / 1.286 GB, free: 2.922 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/1.155, allocations: 19.86 kB / 1.286 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/1.155, allocations: 4 kB / 1.286 GB, free: 2.898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00053/1.156, allocations: 0.4912 MB / 1.286 GB, free: 2.414 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.156, allocations: 0 / 1.286 GB, free: 2.414 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003888/1.156, allocations: 83.91 kB / 1.286 GB, free: 2.332 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.0003549/1.157, allocations: 145.3 kB / 1.287 GB, free: 2.184 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003152/1.157, allocations: 99.8 kB / 1.287 GB, free: 2.086 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.157, allocations: 4 kB / 1.287 GB, free: 2.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/1.157, allocations: 68.52 kB / 1.287 GB, free: 2.016 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/1.158, allocations: 281.2 kB / 1.287 GB, free: 1.738 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/1.16, allocations: 0.9095 MB / 1.288 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/1.16, allocations: 0.9126 MB / 1.289 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/1.16, allocations: 35.44 kB / 1.289 GB, free: 15.8 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/1.16, allocations: 7.938 kB / 1.289 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Templates: time 0.01244/1.173, allocations: 7.833 MB / 1.296 GB, free: 8.02 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