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.0009942/0.0009942, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001254/0.001254, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.457 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.642/2.642, allocations: 437.7 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 23.92 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5954, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1667/0.7621, allocations: 159.9 MB / 1.179 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008811/0.7709, allocations: 8.078 MB / 1.186 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005018/0.7715, allocations: 19.88 kB / 1.187 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.7721, allocations: 218.4 kB / 1.187 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.7727, allocations: 274.7 kB / 1.187 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.7736, allocations: 306 kB / 1.187 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.775, allocations: 1.359 MB / 1.189 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006707/0.7757, allocations: 432.4 kB / 1.189 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.7793, allocations: 1.49 MB / 1.19 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.7797, allocations: 330.5 kB / 1.191 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.7798, allocations: 24 kB / 1.191 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.78, allocations: 59.95 kB / 1.191 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.7802, allocations: 227.4 kB / 1.191 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.7803, allocations: 125.4 kB / 1.191 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.7808, allocations: 458.9 kB / 1.192 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7808, allocations: 0 / 1.192 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7808, allocations: 0 / 1.192 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7808, allocations: 0 / 1.192 GB, free: 2.293 MB / 0.9356 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.0009402/0.7817, allocations: 0.7289 MB / 1.192 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7818, allocations: 8.031 kB / 1.192 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.7819, allocations: 67.19 kB / 1.192 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.7825, allocations: 402.4 kB / 1.193 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.7825, allocations: 41.27 kB / 1.193 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.7826, allocations: 55.98 kB / 1.193 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.7836, allocations: 0.6988 MB / 1.194 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.7836, allocations: 0 / 1.194 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.7837, allocations: 27.98 kB / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/0.7838, allocations: 39.92 kB / 1.194 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.7844, allocations: 379.4 kB / 1.194 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.7869, allocations: 3.227 MB / 1.197 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.7872, allocations: 226.1 kB / 1.197 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.7874, allocations: 132.6 kB / 1.197 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.7874, allocations: 11.89 kB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.7875, allocations: 42.5 kB / 1.198 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.7875, allocations: 0 / 1.198 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0006995/0.7882, allocations: 269.8 kB / 1.198 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.7883, allocations: 290.7 kB / 1.198 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.789, allocations: 0.6799 MB / 1.199 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.7891, allocations: 29.7 kB / 1.199 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.7893, allocations: 268.2 kB / 1.199 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.7893, allocations: 35.86 kB / 1.199 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.7893, allocations: 4.031 kB / 1.199 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7895, allocations: 366.8 kB / 1.199 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.7896, allocations: 47.89 kB / 1.199 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.7898, allocations: 101.1 kB / 1.2 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.7899, allocations: 59.89 kB / 1.2 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7899, allocations: 0 / 1.2 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003685/0.7903, allocations: 200.7 kB / 1.2 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7903, allocations: 11.95 kB / 1.2 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7903, allocations: 192 / 1.2 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.7903, allocations: 8 kB / 1.2 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.7906, allocations: 51.95 kB / 1.2 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7906, allocations: 0 / 1.2 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.7908, allocations: 67.34 kB / 1.2 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.7909, allocations: 8 kB / 1.2 GB, free: 9.199 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.7911, allocations: 201.7 kB / 1.2 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.7913, allocations: 59.44 kB / 1.2 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.7914, allocations: 64.27 kB / 1.2 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7914, allocations: 7.938 kB / 1.2 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7914, allocations: 4 kB / 1.2 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7914, allocations: 0 / 1.2 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.7928, allocations: 1.304 MB / 1.202 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7928, allocations: 0 / 1.202 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.793, allocations: 55.95 kB / 1.202 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.793, allocations: 4 kB / 1.202 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.793, allocations: 192 / 1.202 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.793, allocations: 8 kB / 1.202 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7931, allocations: 7.938 kB / 1.202 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.7934, allocations: 342.4 kB / 1.202 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.7936, allocations: 152.3 kB / 1.202 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.7937, allocations: 4 kB / 1.202 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.7939, allocations: 19.98 kB / 1.202 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.7939, allocations: 15.88 kB / 1.202 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.794, allocations: 8 kB / 1.202 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005211/0.7945, allocations: 0.4912 MB / 1.203 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.7945, allocations: 0 / 1.203 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003898/0.7949, allocations: 83.84 kB / 1.203 GB, free: 6.223 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.7952, allocations: 138 kB / 1.203 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.7955, allocations: 111.8 kB / 1.203 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7955, allocations: 0 / 1.203 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.7956, allocations: 76.77 kB / 1.203 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.797, allocations: 275 kB / 1.203 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.7982, allocations: 0.959 MB / 1.204 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.7987, allocations: 0.9091 MB / 1.205 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000248/0.799, allocations: 112.7 kB / 1.205 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.799, allocations: 35.44 kB / 1.205 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of SimCode: time 4.3e-07/0.7991, allocations: 0 / 1.205 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of Templates: time 0.01352/0.8126, allocations: 7.762 MB / 1.213 GB, free: 11.91 MB / 0.9669 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