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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001258/0.001258, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.00193, allocations: 184.6 kB / 16.92 MB, free: 6.895 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7511, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2002/0.9514, allocations: 171.5 MB / 1.123 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009683/0.9611, allocations: 8.594 MB / 1.132 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007666/0.9619, allocations: 19.88 kB / 1.132 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.9627, allocations: 242.4 kB / 1.132 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008298/0.9635, allocations: 286.6 kB / 1.132 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.9645, allocations: 341.9 kB / 1.132 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.9661, allocations: 1.612 MB / 1.134 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.9668, allocations: 0.4986 MB / 1.134 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/0.9714, allocations: 1.903 MB / 1.136 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.9719, allocations: 342.4 kB / 1.137 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.972, allocations: 24 kB / 1.137 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.9722, allocations: 59.97 kB / 1.137 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.9724, allocations: 235.3 kB / 1.137 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.9727, allocations: 284.2 kB / 1.137 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.9732, allocations: 458.9 kB / 1.138 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9732, allocations: 0 / 1.138 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9732, allocations: 0 / 1.138 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.9732, allocations: 0 / 1.138 GB, free: 4.398 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.0009651/0.9742, allocations: 0.7094 MB / 1.138 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9742, allocations: 8.031 kB / 1.138 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.9743, allocations: 71.19 kB / 1.138 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.9749, allocations: 418.2 kB / 1.139 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.9749, allocations: 41.31 kB / 1.139 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.975, allocations: 52 kB / 1.139 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.976, allocations: 0.7066 MB / 1.14 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.9761, allocations: 3.938 kB / 1.14 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.9761, allocations: 27.94 kB / 1.14 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.9762, allocations: 27.98 kB / 1.14 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.9768, allocations: 395.3 kB / 1.14 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.9794, allocations: 3.223 MB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.9797, allocations: 234 kB / 1.143 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.9799, allocations: 136.6 kB / 1.144 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.9799, allocations: 4 kB / 1.144 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.9799, allocations: 46.5 kB / 1.144 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.98, allocations: 0 / 1.144 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007219/0.9807, allocations: 269.7 kB / 1.144 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.9808, allocations: 290.7 kB / 1.144 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.9816, allocations: 0.6877 MB / 1.145 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.9816, allocations: 25.7 kB / 1.145 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.9818, allocations: 268.1 kB / 1.145 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.9818, allocations: 39.55 kB / 1.145 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.9819, allocations: 9.719 kB / 1.145 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.982, allocations: 370.8 kB / 1.145 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.9822, allocations: 43.97 kB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.9823, allocations: 97.11 kB / 1.146 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.9826, allocations: 141 kB / 1.146 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9826, allocations: 336 / 1.146 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003595/0.983, allocations: 208.9 kB / 1.146 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.983, allocations: 7.938 kB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.983, allocations: 3.938 kB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.983, allocations: 4 kB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.9833, allocations: 55.92 kB / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9833, allocations: 0 / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.9835, allocations: 59.36 kB / 1.146 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.9836, allocations: 12 kB / 1.146 GB, free: 11.17 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.9838, allocations: 197.8 kB / 1.146 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.984, allocations: 67.12 kB / 1.146 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.9841, allocations: 64.33 kB / 1.146 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.9841, allocations: 4 kB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.9841, allocations: 4 kB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.9841, allocations: 7.984 kB / 1.146 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.9855, allocations: 1.297 MB / 1.148 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.9855, allocations: 7.984 kB / 1.148 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.9857, allocations: 60.23 kB / 1.148 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9857, allocations: 4 kB / 1.148 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.9857, allocations: 4 kB / 1.148 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.9858, allocations: 4.188 kB / 1.148 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9858, allocations: 0 / 1.148 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.9862, allocations: 354.3 kB / 1.148 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.9863, allocations: 148.3 kB / 1.148 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.9864, allocations: 7.984 kB / 1.148 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.9866, allocations: 15.98 kB / 1.148 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.9866, allocations: 23.92 kB / 1.148 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.9867, allocations: 4 kB / 1.148 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005776/0.9872, allocations: 0.4951 MB / 1.149 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9872, allocations: 0 / 1.149 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003987/0.9877, allocations: 79.94 kB / 1.149 GB, free: 8.172 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.0003523/0.988, allocations: 139.7 kB / 1.149 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.9884, allocations: 112.1 kB / 1.149 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9884, allocations: 4.062 kB / 1.149 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.9885, allocations: 63.91 kB / 1.149 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.9901, allocations: 281.1 kB / 1.149 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.9915, allocations: 1.074 MB / 1.15 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.9919, allocations: 0.9014 MB / 1.151 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.992, allocations: 35.44 kB / 1.151 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.992, allocations: 0 / 1.151 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of Templates: time 0.01146/1.003, allocations: 7.711 MB / 1.159 GB, free: 13.85 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/jenkins1/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