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.001276/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00152/0.00152, allocations: 193 kB / 16.25 MB, free: 6.621 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.326/2.326, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6911, allocations: 140.4 MB / 0.9491 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2181/0.9092, allocations: 191.6 MB / 1.136 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.9213, allocations: 9.945 MB / 1.146 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.9225, allocations: 31.81 kB / 1.146 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.9235, allocations: 333.9 kB / 1.146 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.9262, allocations: 0.953 MB / 1.147 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.9293, allocations: 1.198 MB / 1.148 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.9313, allocations: 1.706 MB / 1.15 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009753/0.9323, allocations: 0.8002 MB / 1.151 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.9357, allocations: 1.397 MB / 1.152 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.9363, allocations: 0.5524 MB / 1.153 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.832e-05/0.9364, allocations: 60 kB / 1.153 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.9389, allocations: 1.469 MB / 1.154 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.9393, allocations: 351.1 kB / 1.155 GB, free: 14.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.9398, allocations: 441.8 kB / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.9422, allocations: 1.581 MB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9422, allocations: 0 / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9422, allocations: 4 kB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.9422, allocations: 0 / 1.157 GB, free: 12.89 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.001675/0.9439, allocations: 1.143 MB / 1.158 GB, free: 11.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.944, allocations: 12.03 kB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.9459, allocations: 294.6 kB / 1.158 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.9467, allocations: 0.5233 MB / 1.158 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.9467, allocations: 58 kB / 1.159 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.9469, allocations: 75.98 kB / 1.159 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.9483, allocations: 0.8947 MB / 1.159 GB, free: 9.746 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.9484, allocations: 7.938 kB / 1.159 GB, free: 9.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.9484, allocations: 35.98 kB / 1.159 GB, free: 9.703 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/0.9485, allocations: 33.3 kB / 1.16 GB, free: 9.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.9495, allocations: 0.5787 MB / 1.16 GB, free: 9.09 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.003724/0.9533, allocations: 3.501 MB / 1.164 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.9537, allocations: 227.6 kB / 1.164 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.9539, allocations: 146.8 kB / 1.164 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008733/0.9548, allocations: 493.4 kB / 1.164 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.9548, allocations: 46.52 kB / 1.164 GB, free: 4.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.9549, allocations: 0 / 1.164 GB, free: 4.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.001297/0.9562, allocations: 450.3 kB / 1.165 GB, free: 3.918 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.9562, allocations: 118.7 kB / 1.165 GB, free: 3.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9573, allocations: 0.8605 MB / 1.166 GB, free: 2.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.9573, allocations: 33.7 kB / 1.166 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.9576, allocations: 379.8 kB / 1.166 GB, free: 2.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.9577, allocations: 78.83 kB / 1.166 GB, free: 2.414 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.9578, allocations: 57.7 kB / 1.166 GB, free: 2.352 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.9579, allocations: 322 kB / 1.167 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.9582, allocations: 103.9 kB / 1.167 GB, free: 1.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.9585, allocations: 207.6 kB / 1.167 GB, free: 1.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.959, allocations: 308.9 kB / 1.167 GB, free: 1.348 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.959, allocations: 0 / 1.167 GB, free: 1.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007326/0.9597, allocations: 410 kB / 1.168 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9597, allocations: 4 kB / 1.168 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9598, allocations: 4.047 kB / 1.168 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.9598, allocations: 7.984 kB / 1.168 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.9601, allocations: 63.84 kB / 1.168 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.9601, allocations: 8.328 kB / 1.168 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.9606, allocations: 91.11 kB / 1.168 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.9607, allocations: 19.97 kB / 1.168 GB, free: 0.7461 MB / 0.92 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.0002829/0.961, allocations: 229.7 kB / 1.168 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.9611, allocations: 82.95 kB / 1.168 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.9618, allocations: 322.8 kB / 1.168 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9619, allocations: 3.938 kB / 1.168 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9619, allocations: 4 kB / 1.168 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.9619, allocations: 0 / 1.168 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.9638, allocations: 1.365 MB / 1.17 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.9639, allocations: 4 kB / 1.17 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.9641, allocations: 44.44 kB / 1.17 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.9641, allocations: 8 kB / 1.17 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.9641, allocations: 15.94 kB / 1.17 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.9641, allocations: 19.94 kB / 1.17 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9642, allocations: 4 kB / 1.17 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.9648, allocations: 0.5015 MB / 1.17 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.965, allocations: 192 kB / 1.17 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.9651, allocations: 11.98 kB / 1.17 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.9655, allocations: 31.92 kB / 1.171 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.9656, allocations: 27.91 kB / 1.171 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.9656, allocations: 11.94 kB / 1.171 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000724/0.9663, allocations: 0.6199 MB / 1.171 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9663, allocations: 0 / 1.171 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000603/0.9669, allocations: 163.8 kB / 1.171 GB, free: 12.89 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.000475/0.9674, allocations: 187.8 kB / 1.171 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.968, allocations: 268.3 kB / 1.172 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9681, allocations: 4 kB / 1.172 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.9683, allocations: 129 kB / 1.172 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.9701, allocations: 416.6 kB / 1.172 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.972, allocations: 1.472 MB / 1.174 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.9726, allocations: 0.9917 MB / 1.175 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005684/0.9731, allocations: 166.2 kB / 1.175 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.9733, allocations: 47.44 kB / 1.175 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9733, allocations: 0 / 1.175 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of Templates: time 0.0247/0.998, allocations: 13.59 MB / 1.188 GB, free: 11.77 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