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.009512/0.009511, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.002192/0.002192, allocations: 189 kB / 16.67 MB, free: 5.969 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.468/2.468, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 70.3 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3038, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1798/0.4835, allocations: 176 MB / 1.26 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.717/1.201, allocations: 8.702 MB / 1.268 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/1.201, allocations: 23.34 kB / 1.268 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007868/1.202, allocations: 297.3 kB / 1.269 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008278/1.203, allocations: 325.1 kB / 1.269 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/1.204, allocations: 374.2 kB / 1.269 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001437/1.206, allocations: 1.155 MB / 1.27 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009911/1.207, allocations: 0.5943 MB / 1.271 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005352/1.212, allocations: 2.127 MB / 1.273 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/1.213, allocations: 349.1 kB / 1.273 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/1.213, allocations: 39.84 kB / 1.273 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/1.213, allocations: 90.42 kB / 1.273 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/1.213, allocations: 254.9 kB / 1.274 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/1.214, allocations: 281.1 kB / 1.274 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008724/1.215, allocations: 0.636 MB / 1.275 GB, free: 3.336 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.215, allocations: 0.9062 kB / 1.275 GB, free: 3.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.233e-06/1.215, allocations: 0.9688 kB / 1.275 GB, free: 3.336 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.717e-05/1.215, allocations: 0.75 kB / 1.275 GB, free: 3.336 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.001005/1.216, allocations: 0.8387 MB / 1.275 GB, free: 2.781 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/1.216, allocations: 9.344 kB / 1.275 GB, free: 2.781 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/1.216, allocations: 72.66 kB / 1.276 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/1.217, allocations: 450.8 kB / 1.276 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/1.217, allocations: 39.59 kB / 1.276 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/1.217, allocations: 60.33 kB / 1.276 GB, free: 2.492 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.218, allocations: 0.6999 MB / 1.277 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.218, allocations: 5.984 kB / 1.277 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/1.218, allocations: 26.5 kB / 1.277 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/1.218, allocations: 28.19 kB / 1.277 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/1.219, allocations: 378.8 kB / 1.277 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/1.222, allocations: 3.226 MB / 1.28 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/1.222, allocations: 217.4 kB / 1.281 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/1.222, allocations: 132.2 kB / 1.281 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/1.222, allocations: 4.203 kB / 1.281 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.222, allocations: 51.19 kB / 1.281 GB, free: 15.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/1.222, allocations: 0.6562 kB / 1.281 GB, free: 15.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0007086/1.223, allocations: 250.2 kB / 1.281 GB, free: 15.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.223, allocations: 291.2 kB / 1.281 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007847/1.224, allocations: 0.6873 MB / 1.282 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/1.224, allocations: 27.08 kB / 1.282 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/1.224, allocations: 269.3 kB / 1.282 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/1.224, allocations: 39.03 kB / 1.282 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/1.224, allocations: 30.61 kB / 1.282 GB, free: 14.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.225, allocations: 374.1 kB / 1.283 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.225, allocations: 37.09 kB / 1.283 GB, free: 14.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/1.225, allocations: 96.25 kB / 1.283 GB, free: 14.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/1.225, allocations: 126.1 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.225, allocations: 1.906 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003476/1.225, allocations: 195.2 kB / 1.283 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.225, allocations: 7.188 kB / 1.283 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.225, allocations: 1.094 kB / 1.283 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.225, allocations: 3.938 kB / 1.283 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/1.226, allocations: 41.78 kB / 1.283 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.226, allocations: 6.844 kB / 1.283 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/1.226, allocations: 60.23 kB / 1.283 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/1.226, allocations: 10.59 kB / 1.283 GB, free: 14.28 MB / 1.029 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.0002179/1.226, allocations: 200.4 kB / 1.283 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.226, allocations: 65 kB / 1.283 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.713e-05/1.226, allocations: 62.09 kB / 1.283 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.226, allocations: 3.031 kB / 1.283 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.227, allocations: 6.719 kB / 1.283 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.227, allocations: 4.375 kB / 1.283 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.228, allocations: 1.303 MB / 1.285 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.228, allocations: 2.969 kB / 1.285 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/1.228, allocations: 43.2 kB / 1.285 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/1.228, allocations: 4.531 kB / 1.285 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.228, allocations: 4.125 kB / 1.285 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.228, allocations: 8.094 kB / 1.285 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.228, allocations: 5.844 kB / 1.285 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/1.229, allocations: 343.8 kB / 1.285 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.229, allocations: 151.1 kB / 1.285 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/1.229, allocations: 5.531 kB / 1.285 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/1.229, allocations: 12.05 kB / 1.285 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.229, allocations: 17.75 kB / 1.285 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/1.229, allocations: 6 kB / 1.285 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005619/1.23, allocations: 0.4953 MB / 1.286 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.81e-07/1.23, allocations: 0 / 1.286 GB, free: 12.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004693/1.23, allocations: 87.44 kB / 1.286 GB, free: 12.67 MB / 1.029 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.0003007/1.23, allocations: 144 kB / 1.286 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003242/1.231, allocations: 104.8 kB / 1.286 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.231, allocations: 2.422 kB / 1.286 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/1.231, allocations: 65.42 kB / 1.286 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.232, allocations: 283.7 kB / 1.286 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/1.234, allocations: 0.8884 MB / 1.287 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/1.234, allocations: 0.9093 MB / 1.288 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002605/1.235, allocations: 100.4 kB / 1.288 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/1.235, allocations: 35.34 kB / 1.288 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 5.62e-07/1.235, allocations: 0 / 1.288 GB, free: 11.38 MB / 1.029 GB Notification: Performance of Templates: time 0.02013/1.255, allocations: 8.469 MB / 1.297 GB, free: 11.03 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/jenkins/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