Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.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.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.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.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 186 kB / 316.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008672/0.0008671, allocations: 84.66 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.618e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.581/5.812, allocations: 2.187 GB / 3.072 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/5.812, allocations: 91.44 kB / 3.073 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.202/8.014, allocations: 0.5765 GB / 3.649 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.394e-06/8.015, allocations: 0 / 3.649 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.095e-05/8.015, allocations: 25.2 kB / 3.649 GB, free: 169.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003203/8.018, allocations: 1.118 MB / 3.65 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/8.018, allocations: 10.88 kB / 3.65 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/8.021, allocations: 293.4 kB / 3.65 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/8.022, allocations: 0.556 MB / 3.651 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/8.022, allocations: 24.06 kB / 3.651 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/8.022, allocations: 46.77 kB / 3.651 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007658/8.023, allocations: 470.5 kB / 3.651 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/8.024, allocations: 0.7397 MB / 3.652 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/8.024, allocations: 2.531 kB / 3.652 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/8.024, allocations: 6.953 kB / 3.652 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/8.024, allocations: 40.7 kB / 3.652 GB, free: 168.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/8.027, allocations: 3.387 MB / 3.656 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/8.028, allocations: 171.5 kB / 3.656 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/8.028, allocations: 114.4 kB / 3.656 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/8.028, allocations: 399.4 kB / 3.656 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/8.028, allocations: 39.44 kB / 3.656 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/8.028, allocations: 1.969 kB / 3.656 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0008774/8.029, allocations: 289.5 kB / 3.656 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/8.029, allocations: 109.3 kB / 3.657 GB, free: 166 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/8.029, allocations: 350.9 kB / 3.657 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/8.029, allocations: 28.67 kB / 3.657 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/8.03, allocations: 417.8 kB / 3.657 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/8.03, allocations: 70.73 kB / 3.657 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/8.03, allocations: 0 / 3.657 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/8.03, allocations: 356.3 kB / 3.658 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/8.03, allocations: 80.11 kB / 3.658 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/8.03, allocations: 203.9 kB / 3.658 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/8.03, allocations: 139.4 kB / 3.658 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/8.03, allocations: 1.75 kB / 3.658 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004971/8.031, allocations: 344.2 kB / 3.659 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/8.031, allocations: 3.375 kB / 3.659 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/8.031, allocations: 6.625 kB / 3.659 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/8.031, allocations: 5.844 kB / 3.659 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/8.031, allocations: 59.98 kB / 3.659 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/8.031, allocations: 9.656 kB / 3.659 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/8.032, allocations: 51.61 kB / 3.659 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/8.032, allocations: 22.28 kB / 3.659 GB, free: 165.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.846e-05/8.032, allocations: 112.5 kB / 3.659 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/8.032, allocations: 49.61 kB / 3.659 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/8.032, allocations: 252.5 kB / 3.659 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/8.032, allocations: 3.094 kB / 3.659 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/8.032, allocations: 0 / 3.659 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/8.032, allocations: 2.516 kB / 3.659 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/8.034, allocations: 1.176 MB / 3.66 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/8.034, allocations: 3.25 kB / 3.66 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/8.034, allocations: 45.27 kB / 3.66 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/8.034, allocations: 5.312 kB / 3.66 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/8.034, allocations: 6.125 kB / 3.66 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/8.034, allocations: 6.516 kB / 3.66 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/8.034, allocations: 12.92 kB / 3.66 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/8.035, allocations: 0.6046 MB / 3.661 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/8.035, allocations: 142.9 kB / 3.661 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/8.035, allocations: 11.27 kB / 3.661 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/8.035, allocations: 31.45 kB / 3.661 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/8.035, allocations: 27.73 kB / 3.661 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/8.035, allocations: 12.94 kB / 3.661 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002079/8.036, allocations: 268.1 kB / 3.661 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.8e-07/8.036, allocations: 0 / 3.661 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009612/8.037, allocations: 322.3 kB / 3.662 GB, free: 163.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002407/8.039, allocations: 2.206 MB / 3.664 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003838/8.039, allocations: 201.4 kB / 3.664 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/8.039, allocations: 0 / 3.664 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/8.039, allocations: 90.81 kB / 3.664 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009199/8.04, allocations: 186.1 kB / 3.664 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/8.042, allocations: 0.8357 MB / 3.665 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/8.042, allocations: 1.009 MB / 3.666 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003907/8.043, allocations: 105.4 kB / 3.666 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/8.043, allocations: 32.28 kB / 3.666 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/8.043, allocations: 0 / 3.666 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.02687/8.07, allocations: 17.69 MB / 3.683 GB, free: 161.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches