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.001776/0.001776, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.413/2.413, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.6999, allocations: 140.4 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2278/0.9278, allocations: 194.1 MB / 1.139 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.9405, allocations: 10.03 MB / 1.149 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.9415, allocations: 27.81 kB / 1.149 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009969/0.9425, allocations: 400.9 kB / 1.149 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.9451, allocations: 1.023 MB / 1.15 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.9484, allocations: 1.3 MB / 1.152 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.9509, allocations: 1.69 MB / 1.153 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.9522, allocations: 0.8315 MB / 1.154 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.9554, allocations: 1.413 MB / 1.155 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006943/0.9562, allocations: 0.5328 MB / 1.156 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.9563, allocations: 64 kB / 1.156 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.9591, allocations: 1.403 MB / 1.157 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.9595, allocations: 343.1 kB / 1.158 GB, free: 11.92 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005301/0.96, allocations: 437.8 kB / 1.158 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.9625, allocations: 1.484 MB / 1.16 GB, free: 10 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9625, allocations: 7.938 kB / 1.16 GB, free: 9.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9625, allocations: 0 / 1.16 GB, free: 9.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.9625, allocations: 0 / 1.16 GB, free: 9.996 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.001514/0.964, allocations: 1.134 MB / 1.161 GB, free: 8.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.9641, allocations: 8.031 kB / 1.161 GB, free: 8.801 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.9659, allocations: 294.6 kB / 1.161 GB, free: 8.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.9667, allocations: 0.5349 MB / 1.162 GB, free: 7.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.9668, allocations: 57.98 kB / 1.162 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.9669, allocations: 72 kB / 1.162 GB, free: 7.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.9683, allocations: 0.9025 MB / 1.163 GB, free: 6.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.9683, allocations: 3.984 kB / 1.163 GB, free: 6.844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.9684, allocations: 32 kB / 1.163 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.9684, allocations: 37.3 kB / 1.163 GB, free: 6.777 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.9694, allocations: 0.5709 MB / 1.163 GB, free: 6.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.00354/0.973, allocations: 3.517 MB / 1.167 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.9734, allocations: 223.7 kB / 1.167 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.9737, allocations: 146.8 kB / 1.167 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009025/0.9746, allocations: 489.4 kB / 1.167 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.9746, allocations: 42.45 kB / 1.167 GB, free: 1.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.9746, allocations: 3.938 kB / 1.167 GB, free: 1.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.001239/0.9759, allocations: 450.6 kB / 1.168 GB, free: 1.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.9759, allocations: 114.7 kB / 1.168 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.977, allocations: 0.8645 MB / 1.169 GB, free: 16 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.977, allocations: 25.7 kB / 1.169 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.9773, allocations: 387.9 kB / 1.169 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.9774, allocations: 82.86 kB / 1.169 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.9775, allocations: 57.7 kB / 1.169 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9776, allocations: 318 kB / 1.17 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.9779, allocations: 99.92 kB / 1.17 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.9782, allocations: 220.5 kB / 1.17 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.9787, allocations: 312.5 kB / 1.17 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.9787, allocations: 4 kB / 1.17 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006841/0.9794, allocations: 398.4 kB / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.9794, allocations: 8.344 kB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.9795, allocations: 8 kB / 1.171 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.9795, allocations: 4 kB / 1.171 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.9798, allocations: 59.84 kB / 1.171 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.9798, allocations: 11.92 kB / 1.171 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.9803, allocations: 79.05 kB / 1.171 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.9803, allocations: 16 kB / 1.171 GB, free: 13.86 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.0002731/0.9806, allocations: 229.7 kB / 1.171 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.9807, allocations: 86.97 kB / 1.171 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.9814, allocations: 314.9 kB / 1.171 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.9814, allocations: 7.938 kB / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9814, allocations: 0 / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9814, allocations: 4 kB / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.9834, allocations: 1.365 MB / 1.173 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.9834, allocations: 4 kB / 1.173 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.9836, allocations: 44.45 kB / 1.173 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.9836, allocations: 12 kB / 1.173 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.9837, allocations: 11.92 kB / 1.173 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.9837, allocations: 4 kB / 1.173 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.9837, allocations: 8 kB / 1.173 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/0.9843, allocations: 0.5204 MB / 1.173 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.9846, allocations: 188 kB / 1.174 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.9847, allocations: 16 kB / 1.174 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.985, allocations: 24.02 kB / 1.174 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.9851, allocations: 31.89 kB / 1.174 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.9851, allocations: 11.94 kB / 1.174 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007366/0.9859, allocations: 0.6122 MB / 1.174 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9859, allocations: 0 / 1.174 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006415/0.9865, allocations: 167.8 kB / 1.174 GB, free: 10.01 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.000445/0.987, allocations: 188.5 kB / 1.175 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006053/0.9876, allocations: 269 kB / 1.175 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9876, allocations: 0 / 1.175 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.9879, allocations: 127.7 kB / 1.175 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.9898, allocations: 413.7 kB / 1.175 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.9917, allocations: 1.261 MB / 1.177 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.9922, allocations: 0.9878 MB / 1.178 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005813/0.9928, allocations: 158.2 kB / 1.178 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.993, allocations: 55.36 kB / 1.178 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.993, allocations: 8 kB / 1.178 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of Templates: time 0.02803/1.021, allocations: 13.71 MB / 1.191 GB, free: 8.984 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