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.009157/0.009157, allocations: 101.4 kB / 15.73 MB, free: 6.016 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.001629/0.001629, allocations: 191.5 kB / 16.67 MB, free: 5.949 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 58.81 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2665, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1946/0.4612, allocations: 176 MB / 1.26 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7346/1.196, allocations: 8.703 MB / 1.268 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/1.197, allocations: 20.81 kB / 1.268 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/1.198, allocations: 303.5 kB / 1.269 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009414/1.199, allocations: 307.4 kB / 1.269 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/1.2, allocations: 372.4 kB / 1.269 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001632/1.202, allocations: 1.152 MB / 1.27 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009892/1.203, allocations: 0.5952 MB / 1.271 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/1.209, allocations: 2.06 MB / 1.273 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007163/1.21, allocations: 349.2 kB / 1.273 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.384e-05/1.21, allocations: 39.47 kB / 1.273 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/1.21, allocations: 88.34 kB / 1.273 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003785/1.211, allocations: 256.4 kB / 1.274 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/1.211, allocations: 280.7 kB / 1.274 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/1.212, allocations: 0.6328 MB / 1.275 GB, free: 3.355 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.212, allocations: 1.25 kB / 1.275 GB, free: 3.355 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/1.212, allocations: 0.9375 kB / 1.275 GB, free: 3.355 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.212, allocations: 0 / 1.275 GB, free: 3.355 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.001083/1.213, allocations: 0.8233 MB / 1.275 GB, free: 2.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/1.213, allocations: 9.688 kB / 1.275 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/1.213, allocations: 66.66 kB / 1.275 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/1.214, allocations: 451.2 kB / 1.276 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/1.214, allocations: 39.31 kB / 1.276 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.677e-05/1.214, allocations: 55.91 kB / 1.276 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.216, allocations: 0.7009 MB / 1.277 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.216, allocations: 4.688 kB / 1.277 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/1.216, allocations: 29.02 kB / 1.277 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-05/1.216, allocations: 27.81 kB / 1.277 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/1.217, allocations: 379.6 kB / 1.277 GB, free: 2.289 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/1.219, allocations: 3.216 MB / 1.28 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/1.22, allocations: 221.7 kB / 1.28 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.22, allocations: 124.9 kB / 1.281 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/1.22, allocations: 14.3 kB / 1.281 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/1.22, allocations: 49.58 kB / 1.281 GB, free: 15.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/1.22, allocations: 0 / 1.281 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006974/1.221, allocations: 249.5 kB / 1.281 GB, free: 15.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.221, allocations: 291 kB / 1.281 GB, free: 15.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/1.222, allocations: 0.6867 MB / 1.282 GB, free: 15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/1.222, allocations: 28.39 kB / 1.282 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/1.222, allocations: 267.1 kB / 1.282 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/1.222, allocations: 40.25 kB / 1.282 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/1.222, allocations: 30.16 kB / 1.282 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.222, allocations: 376.2 kB / 1.282 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/1.222, allocations: 38.77 kB / 1.283 GB, free: 14.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/1.222, allocations: 95.25 kB / 1.283 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/1.223, allocations: 129.6 kB / 1.283 GB, free: 14.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.223, allocations: 2.219 kB / 1.283 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003329/1.223, allocations: 183.1 kB / 1.283 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.223, allocations: 7.188 kB / 1.283 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.223, allocations: 1.719 kB / 1.283 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.223, allocations: 3.219 kB / 1.283 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/1.223, allocations: 47.34 kB / 1.283 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.223, allocations: 2.547 kB / 1.283 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/1.223, allocations: 56.58 kB / 1.283 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/1.224, allocations: 14.5 kB / 1.283 GB, free: 14.33 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.0002024/1.224, allocations: 203.1 kB / 1.283 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.224, allocations: 58.12 kB / 1.283 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/1.224, allocations: 60.67 kB / 1.283 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.224, allocations: 4.938 kB / 1.283 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.224, allocations: 2.75 kB / 1.283 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.224, allocations: 4.422 kB / 1.283 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.226, allocations: 1.304 MB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/1.226, allocations: 4.781 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.226, allocations: 43.23 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/1.226, allocations: 4.312 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/1.226, allocations: 3.719 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.226, allocations: 10.62 kB / 1.285 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.226, allocations: 3.359 kB / 1.285 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/1.226, allocations: 342.3 kB / 1.285 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/1.226, allocations: 146.7 kB / 1.285 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/1.226, allocations: 5.688 kB / 1.285 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.227, allocations: 7.562 kB / 1.285 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/1.227, allocations: 18.73 kB / 1.285 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/1.227, allocations: 5.219 kB / 1.285 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007094/1.227, allocations: 0.4937 MB / 1.286 GB, free: 12.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.227, allocations: 2.188 kB / 1.286 GB, free: 12.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004508/1.228, allocations: 84.52 kB / 1.286 GB, free: 12.73 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.0003941/1.228, allocations: 134.9 kB / 1.286 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003339/1.229, allocations: 114.2 kB / 1.286 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.229, allocations: 0.9062 kB / 1.286 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.229, allocations: 61.05 kB / 1.286 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.23, allocations: 290.6 kB / 1.286 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/1.232, allocations: 0.8641 MB / 1.287 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/1.232, allocations: 0.9005 MB / 1.288 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000278/1.232, allocations: 106.1 kB / 1.288 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/1.232, allocations: 38.06 kB / 1.288 GB, free: 11.47 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.232, allocations: 0 / 1.288 GB, free: 11.47 MB / 1.029 GB Notification: Performance of Templates: time 0.01634/1.249, allocations: 8.622 MB / 1.297 GB, free: 11.08 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