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.008393/0.008393, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.002234/0.002234, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.389/1.389, 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.382/2.382, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.2 kB / 0.9508 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2866, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1888/0.4754, allocations: 176 MB / 1.26 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7191/1.195, allocations: 8.703 MB / 1.268 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/1.195, allocations: 23.75 kB / 1.268 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008047/1.196, allocations: 298.6 kB / 1.269 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007691/1.197, allocations: 313 kB / 1.269 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/1.198, allocations: 371.7 kB / 1.269 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001291/1.199, allocations: 1.151 MB / 1.27 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008961/1.2, allocations: 0.5964 MB / 1.271 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0053/1.206, allocations: 2.058 MB / 1.273 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/1.206, allocations: 348.2 kB / 1.273 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/1.206, allocations: 40.03 kB / 1.273 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/1.207, allocations: 84.5 kB / 1.273 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/1.207, allocations: 261 kB / 1.274 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/1.207, allocations: 280.8 kB / 1.274 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009478/1.208, allocations: 0.6292 MB / 1.275 GB, free: 3.363 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.208, allocations: 0 / 1.275 GB, free: 3.363 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.315e-06/1.208, allocations: 2.031 kB / 1.275 GB, free: 3.363 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.663e-05/1.208, allocations: 0.5625 kB / 1.275 GB, free: 3.363 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.001134/1.209, allocations: 0.826 MB / 1.275 GB, free: 2.824 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.209, allocations: 9.359 kB / 1.275 GB, free: 2.824 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/1.21, allocations: 67.28 kB / 1.275 GB, free: 2.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/1.21, allocations: 445.1 kB / 1.276 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/1.21, allocations: 45.58 kB / 1.276 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/1.211, allocations: 56.95 kB / 1.276 GB, free: 2.539 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.212, allocations: 0.6996 MB / 1.277 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/1.212, allocations: 1.531 kB / 1.277 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/1.212, allocations: 26.53 kB / 1.277 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-05/1.212, allocations: 35.09 kB / 1.277 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/1.213, allocations: 377.8 kB / 1.277 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/1.216, allocations: 3.216 MB / 1.28 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/1.216, allocations: 222.4 kB / 1.28 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/1.217, allocations: 127.8 kB / 1.281 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/1.217, allocations: 7.172 kB / 1.281 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.217, allocations: 52.92 kB / 1.281 GB, free: 15.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/1.217, allocations: 0 / 1.281 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0007014/1.217, allocations: 248.6 kB / 1.281 GB, free: 15.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.218, allocations: 292.8 kB / 1.281 GB, free: 15.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/1.218, allocations: 0.6863 MB / 1.282 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/1.218, allocations: 27.98 kB / 1.282 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/1.219, allocations: 267.5 kB / 1.282 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/1.219, allocations: 35.72 kB / 1.282 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/1.219, allocations: 30.78 kB / 1.282 GB, free: 14.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.219, allocations: 377.9 kB / 1.282 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/1.219, allocations: 38.22 kB / 1.282 GB, free: 14.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/1.219, allocations: 95.2 kB / 1.283 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/1.22, allocations: 125.7 kB / 1.283 GB, free: 14.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.22, allocations: 0.625 kB / 1.283 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003867/1.22, allocations: 188.3 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.22, allocations: 7.062 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/1.22, allocations: 4.812 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/1.22, allocations: 3.719 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/1.22, allocations: 43.28 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.22, allocations: 5.125 kB / 1.283 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/1.221, allocations: 57.12 kB / 1.283 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/1.221, allocations: 15.36 kB / 1.283 GB, free: 14.34 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.0002167/1.221, allocations: 200.3 kB / 1.283 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/1.221, allocations: 57.98 kB / 1.283 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/1.221, allocations: 60.17 kB / 1.283 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.221, allocations: 4.047 kB / 1.283 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.221, allocations: 4.312 kB / 1.283 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.221, allocations: 3.172 kB / 1.283 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/1.223, allocations: 1.306 MB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/1.223, allocations: 2.719 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/1.223, allocations: 46.81 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/1.223, allocations: 4.188 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.223, allocations: 3.672 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.223, allocations: 4.219 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.223, allocations: 6.672 kB / 1.285 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/1.223, allocations: 336.9 kB / 1.285 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/1.223, allocations: 143.8 kB / 1.285 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/1.224, allocations: 8.969 kB / 1.285 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/1.224, allocations: 8.359 kB / 1.285 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/1.224, allocations: 21.66 kB / 1.285 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/1.224, allocations: 6.031 kB / 1.285 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000646/1.224, allocations: 0.4935 MB / 1.286 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.224, allocations: 6.219 kB / 1.286 GB, free: 12.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004926/1.225, allocations: 84.8 kB / 1.286 GB, free: 12.74 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.0003808/1.225, allocations: 142.5 kB / 1.286 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003421/1.226, allocations: 111.3 kB / 1.286 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.226, allocations: 0.5938 kB / 1.286 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/1.226, allocations: 60.86 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.001459/1.227, allocations: 292.7 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.001467/1.229, allocations: 0.8593 MB / 1.287 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/1.229, allocations: 0.9042 MB / 1.288 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003334/1.23, allocations: 102.2 kB / 1.288 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/1.23, allocations: 34.44 kB / 1.288 GB, free: 11.47 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/1.23, allocations: 0 / 1.288 GB, free: 11.47 MB / 1.029 GB Notification: Performance of Templates: time 0.01851/1.248, allocations: 8.463 MB / 1.296 GB, free: 11.13 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