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.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_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.006916/0.006916, allocations: 101.6 kB / 15.88 MB, free: 5.863 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.001636/0.001636, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.493/1.493, allocations: 222.9 MB / 240.5 MB, free: 4.543 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.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6785, allocations: 140.3 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2093/0.8879, allocations: 191.9 MB / 1.137 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.9004, allocations: 10.05 MB / 1.147 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.9018, allocations: 23.81 kB / 1.147 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.9029, allocations: 309.9 kB / 1.147 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.9058, allocations: 0.9725 MB / 1.148 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.909, allocations: 1.192 MB / 1.149 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.9118, allocations: 2.345 MB / 1.151 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.9129, allocations: 0.7157 MB / 1.152 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.9163, allocations: 1.315 MB / 1.153 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008928/0.9173, allocations: 0.5523 MB / 1.154 GB, free: 24 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.9174, allocations: 44.05 kB / 1.154 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.9208, allocations: 1.66 MB / 1.156 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004059/0.9212, allocations: 335 kB / 1.156 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.9218, allocations: 413.8 kB / 1.156 GB, free: 13.58 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.9234, allocations: 1.064 MB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9234, allocations: 0 / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9234, allocations: 0 / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.9234, allocations: 0 / 1.157 GB, free: 12.52 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.001669/0.9251, allocations: 1.138 MB / 1.159 GB, free: 11.33 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.9252, allocations: 16.03 kB / 1.159 GB, free: 11.31 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.927, allocations: 286.6 kB / 1.159 GB, free: 11.03 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.9278, allocations: 0.5271 MB / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.9279, allocations: 62 kB / 1.159 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.928, allocations: 75.98 kB / 1.159 GB, free: 10.33 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.9294, allocations: 0.9025 MB / 1.16 GB, free: 9.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.9294, allocations: 0 / 1.16 GB, free: 9.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.9295, allocations: 35.98 kB / 1.16 GB, free: 9.336 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/0.9295, allocations: 41.23 kB / 1.16 GB, free: 9.293 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009763/0.9305, allocations: 0.5788 MB / 1.161 GB, free: 8.711 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.003586/0.9341, allocations: 3.505 MB / 1.164 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.9345, allocations: 216.4 kB / 1.165 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.9348, allocations: 150.8 kB / 1.165 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008918/0.9357, allocations: 489.4 kB / 1.165 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.9357, allocations: 46.5 kB / 1.165 GB, free: 3.996 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 2.344e-06/0.9357, allocations: 0 / 1.165 GB, free: 3.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.001279/0.937, allocations: 446.5 kB / 1.166 GB, free: 3.555 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.9371, allocations: 122.6 kB / 1.166 GB, free: 3.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.9382, allocations: 0.8605 MB / 1.167 GB, free: 2.535 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.9382, allocations: 33.7 kB / 1.167 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.9385, allocations: 383.9 kB / 1.167 GB, free: 2.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.9386, allocations: 74.84 kB / 1.167 GB, free: 2.043 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.9387, allocations: 61.7 kB / 1.167 GB, free: 1.977 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9389, allocations: 314 kB / 1.167 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.9391, allocations: 99.92 kB / 1.168 GB, free: 1.566 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.9394, allocations: 211.6 kB / 1.168 GB, free: 1.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.9399, allocations: 310.8 kB / 1.168 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.94, allocations: 0 / 1.168 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007128/0.9407, allocations: 402.5 kB / 1.168 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.9407, allocations: 8 kB / 1.168 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9407, allocations: 7.938 kB / 1.168 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.9407, allocations: 4 kB / 1.168 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.9411, allocations: 63.84 kB / 1.169 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.9411, allocations: 4 kB / 1.169 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.9416, allocations: 95.09 kB / 1.169 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.9416, allocations: 12 kB / 1.169 GB, free: 396 kB / 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.0002959/0.9419, allocations: 233.6 kB / 1.169 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.9421, allocations: 78.97 kB / 1.169 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.9427, allocations: 318.9 kB / 1.169 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.9428, allocations: 7.875 kB / 1.169 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.9428, allocations: 7.984 kB / 1.169 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9428, allocations: 4 kB / 1.169 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.9448, allocations: 1.377 MB / 1.171 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9448, allocations: 4 kB / 1.171 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.9451, allocations: 47.91 kB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.9451, allocations: 4 kB / 1.171 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.9451, allocations: 11.94 kB / 1.171 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/0.9451, allocations: 11.98 kB / 1.171 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.9451, allocations: 7.938 kB / 1.171 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.9458, allocations: 0.5022 MB / 1.171 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.9461, allocations: 196 kB / 1.171 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.9462, allocations: 8 kB / 1.171 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.9466, allocations: 35.84 kB / 1.171 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.9467, allocations: 27.92 kB / 1.171 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.9467, allocations: 11.94 kB / 1.171 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007948/0.9475, allocations: 0.6122 MB / 1.172 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9475, allocations: 0 / 1.172 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006579/0.9482, allocations: 171.8 kB / 1.172 GB, free: 12.52 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.0004966/0.9487, allocations: 190.8 kB / 1.172 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006028/0.9493, allocations: 251.6 kB / 1.173 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9493, allocations: 0.6875 kB / 1.173 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.9496, allocations: 135.7 kB / 1.173 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.9514, allocations: 393.3 kB / 1.173 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.9535, allocations: 1.539 MB / 1.175 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.9541, allocations: 0.9881 MB / 1.176 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.9543, allocations: 47.44 kB / 1.176 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of SimCode: time 7.51e-07/0.9543, allocations: 4 kB / 1.176 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.01925/0.9735, allocations: 11.99 MB / 1.187 GB, free: 13.01 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/jenkins1/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