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.0009289/0.0009289, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007314/0.007314, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.352/2.352, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 8 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6688, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2013/0.8701, allocations: 171.5 MB / 1.122 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.882, allocations: 8.586 MB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.883, allocations: 19.88 kB / 1.131 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.8841, allocations: 238.4 kB / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.8853, allocations: 286.7 kB / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.8866, allocations: 345.5 kB / 1.132 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.8888, allocations: 1.609 MB / 1.133 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.8899, allocations: 0.4908 MB / 1.134 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.8956, allocations: 1.903 MB / 1.136 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008357/0.8965, allocations: 350.4 kB / 1.136 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.8966, allocations: 20 kB / 1.136 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.897, allocations: 67.89 kB / 1.136 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.8973, allocations: 235.4 kB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.8977, allocations: 280.2 kB / 1.137 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006787/0.8984, allocations: 0.5838 MB / 1.137 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8984, allocations: 7.984 kB / 1.137 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.542e-06/0.8984, allocations: 0 / 1.137 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8984, allocations: 0 / 1.137 GB, free: 4.289 MB / 0.8887 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.001057/0.8995, allocations: 0.7094 MB / 1.138 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.8995, allocations: 12.03 kB / 1.138 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.8997, allocations: 67.19 kB / 1.138 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.9002, allocations: 414.2 kB / 1.138 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.9003, allocations: 45.3 kB / 1.138 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.9004, allocations: 48 kB / 1.138 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.9014, allocations: 0.7144 MB / 1.139 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.9014, allocations: 0 / 1.139 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.9015, allocations: 27.94 kB / 1.139 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.9016, allocations: 35.91 kB / 1.139 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006631/0.9022, allocations: 387.4 kB / 1.139 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.9051, allocations: 3.227 MB / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.9054, allocations: 226.1 kB / 1.143 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.9057, allocations: 136.5 kB / 1.143 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.9057, allocations: 0 / 1.143 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.9058, allocations: 50.5 kB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.9058, allocations: 0 / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007458/0.9065, allocations: 265.4 kB / 1.143 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002438/0.9068, allocations: 299.1 kB / 1.144 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.9076, allocations: 0.6839 MB / 1.144 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.9076, allocations: 25.7 kB / 1.144 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.9078, allocations: 272.2 kB / 1.145 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.9079, allocations: 31.55 kB / 1.145 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.9079, allocations: 17.72 kB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.9081, allocations: 371.1 kB / 1.145 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.9082, allocations: 39.97 kB / 1.145 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.9084, allocations: 105 kB / 1.145 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.9087, allocations: 141.2 kB / 1.145 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9087, allocations: 0 / 1.145 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000365/0.9091, allocations: 208.8 kB / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.9091, allocations: 11.94 kB / 1.145 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.9091, allocations: 0 / 1.145 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.9091, allocations: 4 kB / 1.145 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.9095, allocations: 47.95 kB / 1.145 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.9095, allocations: 3.969 kB / 1.145 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.9097, allocations: 67.36 kB / 1.146 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.9098, allocations: 8 kB / 1.146 GB, free: 11.05 MB / 0.9044 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.0002031/0.91, allocations: 201.8 kB / 1.146 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.9102, allocations: 63.25 kB / 1.146 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-05/0.9103, allocations: 60.33 kB / 1.146 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.9103, allocations: 11.98 kB / 1.146 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.9103, allocations: 4 kB / 1.146 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.9103, allocations: 4 kB / 1.146 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.9117, allocations: 1.3 MB / 1.147 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9117, allocations: 4 kB / 1.147 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.9119, allocations: 52.23 kB / 1.147 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.9119, allocations: 4 kB / 1.147 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.9119, allocations: 8 kB / 1.147 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.9119, allocations: 7.922 kB / 1.147 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9119, allocations: 4 kB / 1.147 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.9124, allocations: 346.4 kB / 1.148 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.9125, allocations: 148.3 kB / 1.148 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.9126, allocations: 4 kB / 1.148 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.9128, allocations: 19.98 kB / 1.148 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.9128, allocations: 23.86 kB / 1.148 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.9129, allocations: 4 kB / 1.148 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006152/0.9135, allocations: 0.4951 MB / 1.148 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9135, allocations: 0 / 1.148 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004135/0.9139, allocations: 79.94 kB / 1.148 GB, free: 8.062 MB / 0.9044 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.0004063/0.9143, allocations: 138.8 kB / 1.148 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.9147, allocations: 111.8 kB / 1.149 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9147, allocations: 4.312 kB / 1.149 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.9149, allocations: 75.83 kB / 1.149 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.9165, allocations: 276.9 kB / 1.149 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.9179, allocations: 1.014 MB / 1.15 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.9184, allocations: 0.913 MB / 1.151 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.9186, allocations: 100.6 kB / 1.151 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.9187, allocations: 31.44 kB / 1.151 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.9187, allocations: 0 / 1.151 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of Templates: time 0.01553/0.9342, allocations: 7.999 MB / 1.159 GB, free: 13.46 MB / 0.92 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