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.001021/0.001021, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001221/0.001221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.445 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.516/2.516, allocations: 390.9 MB / 0.666 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 11.98 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6988, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.195/0.8938, allocations: 176.6 MB / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.9051, allocations: 9.339 MB / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.9064, allocations: 27.81 kB / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.9074, allocations: 281.9 kB / 1.136 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.91, allocations: 0.793 MB / 1.137 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.9129, allocations: 0.9064 MB / 1.138 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002338/0.9153, allocations: 1.99 MB / 1.14 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.9164, allocations: 0.5885 MB / 1.141 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.9197, allocations: 1.117 MB / 1.142 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008234/0.9206, allocations: 0.5057 MB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.9207, allocations: 32 kB / 1.142 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.9228, allocations: 0.717 MB / 1.143 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.9232, allocations: 315.1 kB / 1.143 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.9236, allocations: 177.3 kB / 1.143 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.9251, allocations: 0.9469 MB / 1.144 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.9252, allocations: 0 / 1.144 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9252, allocations: 7.875 kB / 1.144 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.964e-05/0.9252, allocations: 0 / 1.144 GB, free: 12.64 MB / 0.9044 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.001694/0.9269, allocations: 0.9861 MB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.927, allocations: 12.03 kB / 1.145 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.9288, allocations: 294.6 kB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009517/0.9298, allocations: 0.512 MB / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.9298, allocations: 61.98 kB / 1.146 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.93, allocations: 68 kB / 1.146 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.9315, allocations: 0.9025 MB / 1.147 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.9316, allocations: 4 kB / 1.147 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.9316, allocations: 28 kB / 1.147 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/0.9317, allocations: 45.23 kB / 1.147 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.9328, allocations: 0.5716 MB / 1.148 GB, free: 9.012 MB / 0.9044 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.003858/0.9367, allocations: 3.513 MB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.9371, allocations: 228 kB / 1.151 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.9373, allocations: 158.4 kB / 1.151 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000845/0.9382, allocations: 497.4 kB / 1.152 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.9382, allocations: 42.56 kB / 1.152 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 2.996e-06/0.9382, allocations: 0 / 1.152 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.001228/0.9395, allocations: 465.9 kB / 1.152 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.9395, allocations: 106.8 kB / 1.152 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.9407, allocations: 0.8566 MB / 1.153 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.9408, allocations: 33.7 kB / 1.153 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.9411, allocations: 383.9 kB / 1.154 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.9412, allocations: 82.83 kB / 1.154 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.9412, allocations: 4 kB / 1.154 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9414, allocations: 318 kB / 1.154 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.9416, allocations: 103.9 kB / 1.154 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.9419, allocations: 219.6 kB / 1.154 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.9422, allocations: 137.7 kB / 1.155 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.9422, allocations: 3.953 kB / 1.155 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008277/0.9431, allocations: 408.2 kB / 1.155 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.9431, allocations: 10.05 kB / 1.155 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9431, allocations: 8 kB / 1.155 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.9432, allocations: 4 kB / 1.155 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.9435, allocations: 59.91 kB / 1.155 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.9435, allocations: 7.938 kB / 1.155 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.9441, allocations: 95.09 kB / 1.155 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.9442, allocations: 16 kB / 1.155 GB, free: 0.8945 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000363/0.9445, allocations: 233.6 kB / 1.155 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.9447, allocations: 79.02 kB / 1.155 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.9455, allocations: 334.4 kB / 1.156 GB, free: 252 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.9455, allocations: 7.875 kB / 1.156 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.9455, allocations: 4 kB / 1.156 GB, free: 240 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.9455, allocations: 3.984 kB / 1.156 GB, free: 236 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.9484, allocations: 1.373 MB / 1.157 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.9484, allocations: 4.531 kB / 1.157 GB, free: 14.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.9487, allocations: 55.91 kB / 1.157 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.536e-05/0.9487, allocations: 8 kB / 1.157 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.9487, allocations: 4 kB / 1.157 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/0.9487, allocations: 11.95 kB / 1.157 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.9488, allocations: 7.938 kB / 1.157 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.9496, allocations: 0.5245 MB / 1.158 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.95, allocations: 188.1 kB / 1.158 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.9501, allocations: 11.98 kB / 1.158 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.9506, allocations: 35.84 kB / 1.158 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.9507, allocations: 27.91 kB / 1.158 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.9507, allocations: 12 kB / 1.158 GB, free: 13.77 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001083/0.9518, allocations: 0.6082 MB / 1.159 GB, free: 13.17 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.9518, allocations: 0 / 1.159 GB, free: 13.17 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008028/0.9526, allocations: 159.9 kB / 1.159 GB, free: 13.01 MB / 0.92 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 (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.0006376/0.9533, allocations: 198 kB / 1.159 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007277/0.954, allocations: 267.4 kB / 1.159 GB, free: 12.56 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.954, allocations: 0 / 1.159 GB, free: 12.56 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.9543, allocations: 137.1 kB / 1.159 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.9562, allocations: 411.5 kB / 1.16 GB, free: 12.03 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.9586, allocations: 1.424 MB / 1.161 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.9592, allocations: 0.9998 MB / 1.162 GB, free: 9.496 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.9599, allocations: 162.2 kB / 1.162 GB, free: 9.336 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.96, allocations: 51.44 kB / 1.162 GB, free: 9.285 MB / 0.92 GB Notification: Performance of SimCode: time 1.112e-06/0.9601, allocations: 0 / 1.162 GB, free: 9.285 MB / 0.92 GB Notification: Performance of Templates: time 0.0251/0.9852, allocations: 12.68 MB / 1.175 GB, free: 12.82 MB / 0.9356 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