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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.006593/0.006593, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001495/0.001495, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.89 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6779, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1771/0.855, allocations: 173.8 MB / 1.187 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.8658, allocations: 8.706 MB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009467/0.8668, allocations: 23.81 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.8678, allocations: 234.4 kB / 1.196 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.8689, allocations: 298.7 kB / 1.196 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.8701, allocations: 339.4 kB / 1.196 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.8718, allocations: 1.612 MB / 1.198 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008596/0.8727, allocations: 0.5084 MB / 1.198 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.8775, allocations: 1.923 MB / 1.2 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.8781, allocations: 382.3 kB / 1.201 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.8782, allocations: 28 kB / 1.201 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.8785, allocations: 67.89 kB / 1.201 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.8788, allocations: 251.3 kB / 1.201 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.8792, allocations: 266.6 kB / 1.201 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.8797, allocations: 463 kB / 1.202 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.8797, allocations: 3.984 kB / 1.202 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.61e-07/0.8797, allocations: 0 / 1.202 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.8798, allocations: 0 / 1.202 GB, free: 5.277 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.001116/0.8809, allocations: 0.8185 MB / 1.202 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.8809, allocations: 20.02 kB / 1.202 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.881, allocations: 67.19 kB / 1.203 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.8816, allocations: 414.1 kB / 1.203 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.8816, allocations: 37.31 kB / 1.203 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.8817, allocations: 51.98 kB / 1.203 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.8827, allocations: 0.7066 MB / 1.204 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.8828, allocations: 4 kB / 1.204 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.8828, allocations: 19.98 kB / 1.204 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.8829, allocations: 39.86 kB / 1.204 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.8835, allocations: 371.4 kB / 1.204 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.886, allocations: 3.223 MB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.8863, allocations: 214.2 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.8865, allocations: 128.5 kB / 1.208 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.8865, allocations: 11.94 kB / 1.208 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.8865, allocations: 46.48 kB / 1.208 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.8865, allocations: 0 / 1.208 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006878/0.8872, allocations: 252.7 kB / 1.208 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.8874, allocations: 295.7 kB / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007377/0.8881, allocations: 0.6877 MB / 1.209 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.8881, allocations: 29.7 kB / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.8883, allocations: 264.2 kB / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.8884, allocations: 27.56 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.8884, allocations: 33.7 kB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8886, allocations: 370.8 kB / 1.21 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.8887, allocations: 35.97 kB / 1.21 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.8889, allocations: 97.05 kB / 1.21 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.8892, allocations: 137 kB / 1.21 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8892, allocations: 0 / 1.21 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003503/0.8895, allocations: 188.7 kB / 1.21 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8895, allocations: 8.188 kB / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8896, allocations: 7.938 kB / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8896, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.8898, allocations: 43.95 kB / 1.21 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.8898, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.8901, allocations: 55.36 kB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.8901, allocations: 8 kB / 1.21 GB, free: 12.03 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.0001989/0.8903, allocations: 205.7 kB / 1.21 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.8905, allocations: 63.25 kB / 1.21 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.048e-05/0.8906, allocations: 60.27 kB / 1.21 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8906, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8906, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.8906, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.892, allocations: 1.304 MB / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.892, allocations: 288 / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.8922, allocations: 51.89 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.8922, allocations: 4 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.8923, allocations: 4.109 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.8923, allocations: 7.938 kB / 1.212 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8923, allocations: 3.938 kB / 1.212 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.8927, allocations: 334.4 kB / 1.212 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.8928, allocations: 152.3 kB / 1.212 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.8929, allocations: 7.984 kB / 1.212 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.8931, allocations: 15.98 kB / 1.212 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.8932, allocations: 11.94 kB / 1.212 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.8932, allocations: 11.98 kB / 1.212 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005323/0.8937, allocations: 0.4951 MB / 1.213 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8937, allocations: 4.219 kB / 1.213 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004/0.8941, allocations: 79.91 kB / 1.213 GB, free: 9.055 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.0003277/0.8945, allocations: 148.2 kB / 1.213 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.8948, allocations: 107.8 kB / 1.213 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8948, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.8949, allocations: 59.84 kB / 1.213 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.8963, allocations: 278.3 kB / 1.213 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.8977, allocations: 1.052 MB / 1.214 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.8981, allocations: 0.9052 MB / 1.215 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.8982, allocations: 35.44 kB / 1.215 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.8982, allocations: 3.938 kB / 1.215 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of Templates: time 0.01201/0.9102, allocations: 7.791 MB / 1.223 GB, free: 14.68 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/jenkins1/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