Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.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_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_9_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_9_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002105/0.002105, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.322/2.322, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6624, allocations: 140.3 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2202/0.8827, allocations: 191.9 MB / 1.136 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.8952, allocations: 10.03 MB / 1.146 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.8963, allocations: 27.81 kB / 1.146 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.8973, allocations: 313.9 kB / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.9003, allocations: 0.9725 MB / 1.147 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.9034, allocations: 1.195 MB / 1.149 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002565/0.9059, allocations: 2.334 MB / 1.151 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.907, allocations: 0.7235 MB / 1.152 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.9102, allocations: 1.311 MB / 1.153 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007092/0.9109, allocations: 0.5562 MB / 1.153 GB, free: 24 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.911, allocations: 44.05 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.9139, allocations: 1.66 MB / 1.155 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.9143, allocations: 323.1 kB / 1.155 GB, free: 14 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.9147, allocations: 421.7 kB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.9169, allocations: 1.562 MB / 1.157 GB, free: 12.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9169, allocations: 4 kB / 1.157 GB, free: 12.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9169, allocations: 0 / 1.157 GB, free: 12.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.9169, allocations: 0 / 1.157 GB, free: 12.02 MB / 0.92 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.001654/0.9186, allocations: 1.142 MB / 1.158 GB, free: 10.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.9186, allocations: 8.031 kB / 1.158 GB, free: 10.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.9205, allocations: 298.6 kB / 1.159 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.9214, allocations: 0.531 MB / 1.159 GB, free: 9.953 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.9215, allocations: 58 kB / 1.159 GB, free: 9.895 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.9216, allocations: 75.98 kB / 1.159 GB, free: 9.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.9229, allocations: 0.8947 MB / 1.16 GB, free: 8.871 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.923, allocations: 4 kB / 1.16 GB, free: 8.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/0.923, allocations: 28 kB / 1.16 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.9231, allocations: 45.17 kB / 1.16 GB, free: 8.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009966/0.9241, allocations: 0.5827 MB / 1.161 GB, free: 8.207 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003387/0.9275, allocations: 3.493 MB / 1.164 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.9279, allocations: 228.3 kB / 1.164 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.9282, allocations: 142.8 kB / 1.165 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009228/0.9291, allocations: 489.4 kB / 1.165 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.9292, allocations: 46.45 kB / 1.165 GB, free: 3.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.9292, allocations: 0 / 1.165 GB, free: 3.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.00123/0.9304, allocations: 454.3 kB / 1.166 GB, free: 3.051 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.9305, allocations: 110.7 kB / 1.166 GB, free: 2.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9315, allocations: 0.8683 MB / 1.166 GB, free: 2.035 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.9315, allocations: 29.7 kB / 1.167 GB, free: 2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.9318, allocations: 383.8 kB / 1.167 GB, free: 1.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.9319, allocations: 78.8 kB / 1.167 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.932, allocations: 61.69 kB / 1.167 GB, free: 1.477 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9321, allocations: 318 kB / 1.167 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.9324, allocations: 103.9 kB / 1.167 GB, free: 1.059 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.9327, allocations: 211.6 kB / 1.168 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.9332, allocations: 308.1 kB / 1.168 GB, free: 484 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9332, allocations: 0 / 1.168 GB, free: 484 kB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006658/0.9338, allocations: 406 kB / 1.168 GB, free: 72 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9339, allocations: 7.984 kB / 1.168 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.9339, allocations: 4 kB / 1.168 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.9339, allocations: 4 kB / 1.168 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.9342, allocations: 60.45 kB / 1.168 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.9343, allocations: 15.88 kB / 1.168 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.9348, allocations: 83.09 kB / 1.168 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.9348, allocations: 20 kB / 1.168 GB, free: 15.88 MB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002765/0.9351, allocations: 229.6 kB / 1.169 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.9352, allocations: 86.97 kB / 1.169 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.9358, allocations: 311.2 kB / 1.169 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.9359, allocations: 7.938 kB / 1.169 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9359, allocations: 0 / 1.169 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.9359, allocations: 7.984 kB / 1.169 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.9379, allocations: 1.365 MB / 1.17 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.9379, allocations: 4 kB / 1.17 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.9381, allocations: 48.44 kB / 1.17 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.9381, allocations: 12 kB / 1.171 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.9381, allocations: 4 kB / 1.171 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.9382, allocations: 11.88 kB / 1.171 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9382, allocations: 11.94 kB / 1.171 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.9388, allocations: 0.5087 MB / 1.171 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.939, allocations: 191.9 kB / 1.171 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.9391, allocations: 15.98 kB / 1.171 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.9395, allocations: 27.98 kB / 1.171 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.9396, allocations: 31.84 kB / 1.171 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.9396, allocations: 16 kB / 1.171 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007597/0.9404, allocations: 0.616 MB / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9404, allocations: 0 / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005983/0.941, allocations: 163.8 kB / 1.172 GB, free: 12.02 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.0004666/0.9415, allocations: 191 kB / 1.172 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005688/0.942, allocations: 261.5 kB / 1.172 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.942, allocations: 0 / 1.172 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.9423, allocations: 129.4 kB / 1.173 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.9442, allocations: 409 kB / 1.173 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.9461, allocations: 1.466 MB / 1.174 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.9466, allocations: 0.9959 MB / 1.175 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005491/0.9472, allocations: 154.2 kB / 1.176 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.9473, allocations: 55.38 kB / 1.176 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.9473, allocations: 0 / 1.176 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.02276/0.9701, allocations: 13.1 MB / 1.188 GB, free: 11.38 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches