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.001119/0.001119, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009163/0.009163, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.488/2.488, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004783, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6775, allocations: 142.4 MB / 0.955 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2169/0.8945, allocations: 189.3 MB / 1.14 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.9067, allocations: 9.916 MB / 1.15 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.9078, allocations: 27.81 kB / 1.15 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.9088, allocations: 305.9 kB / 1.15 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.9116, allocations: 0.9725 MB / 1.151 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.9147, allocations: 1.191 MB / 1.152 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002923/0.9177, allocations: 2.341 MB / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.9188, allocations: 0.6989 MB / 1.155 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/0.9222, allocations: 1.296 MB / 1.156 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.923, allocations: 0.525 MB / 1.157 GB, free: 0 / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.9231, allocations: 32.05 kB / 1.157 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.9261, allocations: 1.656 MB / 1.158 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.9265, allocations: 323.1 kB / 1.159 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.927, allocations: 411.6 kB / 1.159 GB, free: 13.58 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.9294, allocations: 1.557 MB / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9294, allocations: 3.938 kB / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9294, allocations: 0 / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.9294, allocations: 0 / 1.161 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.001441/0.9308, allocations: 0.9821 MB / 1.162 GB, free: 10.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.9309, allocations: 12.03 kB / 1.162 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.9327, allocations: 286.6 kB / 1.162 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.9335, allocations: 0.5389 MB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.9335, allocations: 57.98 kB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.9336, allocations: 72 kB / 1.163 GB, free: 9.984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.935, allocations: 0.9103 MB / 1.163 GB, free: 9.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.935, allocations: 3.938 kB / 1.163 GB, free: 9.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.9351, allocations: 32 kB / 1.163 GB, free: 8.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.9352, allocations: 41.3 kB / 1.164 GB, free: 8.941 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.9362, allocations: 0.5788 MB / 1.164 GB, free: 8.359 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.003827/0.9401, allocations: 3.513 MB / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.9405, allocations: 227.7 kB / 1.168 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.9408, allocations: 154.8 kB / 1.168 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008301/0.9416, allocations: 497.4 kB / 1.168 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.9416, allocations: 50.45 kB / 1.168 GB, free: 3.605 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.9417, allocations: 0 / 1.168 GB, free: 3.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.00129/0.943, allocations: 467.3 kB / 1.169 GB, free: 3.145 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.943, allocations: 110.8 kB / 1.169 GB, free: 3.012 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.9441, allocations: 0.8683 MB / 1.17 GB, free: 2.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.9441, allocations: 29.7 kB / 1.17 GB, free: 2.094 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.9444, allocations: 379.8 kB / 1.17 GB, free: 1.719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.9445, allocations: 86.98 kB / 1.17 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.9446, allocations: 25.72 kB / 1.17 GB, free: 1.602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9447, allocations: 314 kB / 1.171 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.9449, allocations: 107.9 kB / 1.171 GB, free: 1.184 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.9452, allocations: 223.5 kB / 1.171 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.9458, allocations: 320.6 kB / 1.171 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9458, allocations: 0 / 1.171 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007288/0.9465, allocations: 414.5 kB / 1.172 GB, free: 168 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9465, allocations: 8 kB / 1.172 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9466, allocations: 4 kB / 1.172 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.9466, allocations: 12.27 kB / 1.172 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.9469, allocations: 59.92 kB / 1.172 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.9469, allocations: 7.984 kB / 1.172 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.9474, allocations: 91.14 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.9475, allocations: 16 kB / 1.172 GB, free: 15.96 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.0002736/0.9478, allocations: 233.6 kB / 1.172 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.9479, allocations: 82.97 kB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000649/0.9486, allocations: 336.6 kB / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9486, allocations: 0 / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9486, allocations: 4 kB / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9486, allocations: 0 / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.9506, allocations: 1.381 MB / 1.174 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.9506, allocations: 4 kB / 1.174 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.9508, allocations: 48.44 kB / 1.174 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.9509, allocations: 8 kB / 1.174 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.9509, allocations: 15.94 kB / 1.174 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/0.9509, allocations: 7.938 kB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9509, allocations: 4 kB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.9516, allocations: 0.5253 MB / 1.174 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.9518, allocations: 188 kB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.9519, allocations: 15.98 kB / 1.175 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.9523, allocations: 35.86 kB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.9524, allocations: 27.91 kB / 1.175 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.9524, allocations: 12 kB / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007397/0.9532, allocations: 0.6083 MB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.613e-06/0.9532, allocations: 0 / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000584/0.9538, allocations: 171.8 kB / 1.175 GB, free: 12.07 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.0003978/0.9542, allocations: 181.5 kB / 1.176 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000553/0.9547, allocations: 262.3 kB / 1.176 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9548, allocations: 4 kB / 1.176 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.9551, allocations: 133 kB / 1.176 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.9575, allocations: 413.3 kB / 1.176 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.9594, allocations: 1.488 MB / 1.178 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.96, allocations: 0.9959 MB / 1.179 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005613/0.9606, allocations: 166.2 kB / 1.179 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.9607, allocations: 47.44 kB / 1.179 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.9607, allocations: 0 / 1.179 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.02229/0.983, allocations: 13.04 MB / 1.192 GB, free: 11.46 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