Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001407/0.001407, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001878/0.001878, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7173/0.7187, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1782/0.8969, allocations: 173.7 MB / 1.186 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009442/0.9064, allocations: 8.619 MB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007622/0.9072, allocations: 19.81 kB / 1.195 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.908, allocations: 258.4 kB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006763/0.9087, allocations: 282.7 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.9097, allocations: 335.4 kB / 1.196 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.9109, allocations: 1.164 MB / 1.197 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006743/0.9116, allocations: 0.5491 MB / 1.197 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004896/0.9165, allocations: 1.997 MB / 1.199 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.9169, allocations: 390.3 kB / 1.2 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.917, allocations: 36 kB / 1.2 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.9172, allocations: 71.97 kB / 1.2 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.9175, allocations: 263.4 kB / 1.2 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.9178, allocations: 282.5 kB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.9184, allocations: 0.6151 MB / 1.201 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9184, allocations: 0 / 1.201 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9184, allocations: 0 / 1.201 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.9184, allocations: 0 / 1.201 GB, free: 5.539 MB / 0.9512 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.000962/0.9194, allocations: 0.8224 MB / 1.202 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9195, allocations: 12.03 kB / 1.202 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.9196, allocations: 71.12 kB / 1.202 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.9201, allocations: 418.1 kB / 1.202 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.9201, allocations: 41.31 kB / 1.202 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.9202, allocations: 51.98 kB / 1.202 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.9211, allocations: 0.6988 MB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.9212, allocations: 7.938 kB / 1.203 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.9212, allocations: 23.98 kB / 1.203 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.9213, allocations: 35.92 kB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.9219, allocations: 379.4 kB / 1.203 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.9244, allocations: 3.208 MB / 1.206 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.9247, allocations: 226.2 kB / 1.207 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.9249, allocations: 124.6 kB / 1.207 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.9249, allocations: 11.94 kB / 1.207 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.925, allocations: 42.5 kB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.925, allocations: 4 kB / 1.207 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.00066/0.9256, allocations: 253.7 kB / 1.207 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.9258, allocations: 290.8 kB / 1.207 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007243/0.9265, allocations: 0.6877 MB / 1.208 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.9266, allocations: 25.7 kB / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.9268, allocations: 268.2 kB / 1.208 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.9268, allocations: 31.55 kB / 1.208 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.9269, allocations: 29.7 kB / 1.208 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.927, allocations: 366.8 kB / 1.209 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.9271, allocations: 43.91 kB / 1.209 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.9273, allocations: 97.09 kB / 1.209 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.9275, allocations: 129 kB / 1.209 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9275, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000319/0.9279, allocations: 192.9 kB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.9279, allocations: 8 kB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9279, allocations: 3.938 kB / 1.209 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.9279, allocations: 0 / 1.209 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.9281, allocations: 43.89 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.9282, allocations: 4 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.9284, allocations: 63.42 kB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.9284, allocations: 7.984 kB / 1.209 GB, free: 12.29 MB / 0.9669 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.0001849/0.9286, allocations: 197.8 kB / 1.209 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.9288, allocations: 67.42 kB / 1.21 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.492e-05/0.9289, allocations: 64.25 kB / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9289, allocations: 7.938 kB / 1.21 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.9289, allocations: 4.062 kB / 1.21 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9289, allocations: 7.938 kB / 1.21 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.9303, allocations: 1.305 MB / 1.211 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9303, allocations: 0 / 1.211 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.9305, allocations: 43.89 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.9305, allocations: 4 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.9305, allocations: 4 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9305, allocations: 4 kB / 1.211 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9305, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.9309, allocations: 342.5 kB / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.9311, allocations: 160.2 kB / 1.211 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.9312, allocations: 4 kB / 1.211 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.9313, allocations: 15.98 kB / 1.211 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.9314, allocations: 19.92 kB / 1.211 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.9314, allocations: 4 kB / 1.211 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005055/0.9319, allocations: 0.4951 MB / 1.212 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9319, allocations: 0 / 1.212 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003618/0.9323, allocations: 79.91 kB / 1.212 GB, free: 9.309 MB / 0.9669 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.0003131/0.9326, allocations: 148 kB / 1.212 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.9329, allocations: 99.8 kB / 1.212 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9329, allocations: 0 / 1.212 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.9331, allocations: 68.64 kB / 1.212 GB, free: 9 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.9344, allocations: 288.7 kB / 1.213 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.9357, allocations: 1.002 MB / 1.214 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.9362, allocations: 0.9087 MB / 1.214 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002577/0.9364, allocations: 104.6 kB / 1.215 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.9365, allocations: 39.44 kB / 1.215 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.9365, allocations: 0 / 1.215 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.01454/0.951, allocations: 8.318 MB / 1.223 GB, free: 14.41 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches