Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0007599/0.0007597, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005004/0.005004, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003681, allocations: 8.188 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6587, allocations: 153.8 MB / 1.023 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1998/0.8586, allocations: 189.3 MB / 1.208 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.8717, allocations: 9.908 MB / 1.218 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.8728, allocations: 27.81 kB / 1.218 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.8739, allocations: 305.9 kB / 1.218 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.8769, allocations: 0.9764 MB / 1.219 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.8801, allocations: 1.188 MB / 1.22 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002742/0.8829, allocations: 2.338 MB / 1.222 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.8841, allocations: 0.7106 MB / 1.223 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.8873, allocations: 1.292 MB / 1.224 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009452/0.8883, allocations: 0.525 MB / 1.225 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.8885, allocations: 36 kB / 1.225 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.892, allocations: 1.648 MB / 1.226 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/0.8924, allocations: 315 kB / 1.227 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006929/0.8931, allocations: 427.5 kB / 1.227 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.8962, allocations: 1.55 MB / 1.229 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8962, allocations: 4 kB / 1.229 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.005e-06/0.8962, allocations: 3.984 kB / 1.229 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.677e-05/0.8963, allocations: 0 / 1.229 GB, free: 12.74 MB / 0.9825 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.001721/0.898, allocations: 0.9783 MB / 1.23 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.8981, allocations: 8.031 kB / 1.23 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.9, allocations: 298.6 kB / 1.23 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009448/0.9009, allocations: 0.5272 MB / 1.23 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.901, allocations: 57.98 kB / 1.23 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.9011, allocations: 72 kB / 1.231 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.9027, allocations: 0.9025 MB / 1.231 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.9027, allocations: 7.938 kB / 1.231 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.9028, allocations: 35.97 kB / 1.231 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/0.9029, allocations: 37.3 kB / 1.231 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.904, allocations: 0.5905 MB / 1.232 GB, free: 9.09 MB / 0.9825 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.003819/0.9078, allocations: 3.505 MB / 1.235 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.9082, allocations: 231.7 kB / 1.236 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.9085, allocations: 154.5 kB / 1.236 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008258/0.9093, allocations: 497.4 kB / 1.236 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.9093, allocations: 34.56 kB / 1.236 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.9093, allocations: 0 / 1.236 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001267/0.9106, allocations: 474.4 kB / 1.237 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.9107, allocations: 110.8 kB / 1.237 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.9118, allocations: 0.8722 MB / 1.238 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.9119, allocations: 29.7 kB / 1.238 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.9122, allocations: 379.8 kB / 1.238 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.9123, allocations: 74.94 kB / 1.238 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.9123, allocations: 29.7 kB / 1.238 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9125, allocations: 318 kB / 1.239 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.9127, allocations: 107.9 kB / 1.239 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.913, allocations: 211.1 kB / 1.239 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.9136, allocations: 321 kB / 1.239 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9136, allocations: 4 kB / 1.239 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000776/0.9144, allocations: 417.8 kB / 1.24 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.9145, allocations: 4 kB / 1.24 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9145, allocations: 4 kB / 1.24 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9145, allocations: 7.938 kB / 1.24 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.9148, allocations: 59.91 kB / 1.24 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.9148, allocations: 4.25 kB / 1.24 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.9154, allocations: 99 kB / 1.24 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.9154, allocations: 24 kB / 1.24 GB, free: 0.7227 MB / 0.9825 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.0002889/0.9157, allocations: 233.6 kB / 1.24 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.9159, allocations: 79.06 kB / 1.24 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.9165, allocations: 338.2 kB / 1.24 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.9165, allocations: 7.938 kB / 1.24 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9166, allocations: 0 / 1.24 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.9166, allocations: 4 kB / 1.24 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6468/1.563, allocations: 1.37 MB / 1.242 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.563, allocations: 4.469 kB / 1.242 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/1.564, allocations: 50.97 kB / 1.242 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.564, allocations: 5.5 kB / 1.242 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.564, allocations: 7.234 kB / 1.242 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/1.564, allocations: 10.45 kB / 1.242 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.564, allocations: 8.781 kB / 1.242 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/1.564, allocations: 0.5313 MB / 1.242 GB, free: 217.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/1.565, allocations: 186.6 kB / 1.243 GB, free: 217.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/1.565, allocations: 10.67 kB / 1.243 GB, free: 217.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/1.565, allocations: 35.16 kB / 1.243 GB, free: 217.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/1.565, allocations: 28.05 kB / 1.243 GB, free: 217.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/1.565, allocations: 16.75 kB / 1.243 GB, free: 217.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008969/1.566, allocations: 0.6115 MB / 1.243 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/1.566, allocations: 0 / 1.243 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007609/1.567, allocations: 164.4 kB / 1.243 GB, free: 217.2 MB / 0.9825 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.00043/1.567, allocations: 189.7 kB / 1.244 GB, free: 217.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006303/1.568, allocations: 264.2 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.568, allocations: 0.5625 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/1.568, allocations: 134.5 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/1.571, allocations: 411.3 kB / 1.244 GB, free: 216.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.573, allocations: 1.494 MB / 1.246 GB, free: 216 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/1.573, allocations: 0.9913 MB / 1.247 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006366/1.574, allocations: 156.6 kB / 1.247 GB, free: 215.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/1.574, allocations: 50.05 kB / 1.247 GB, free: 215.2 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/1.574, allocations: 2.078 kB / 1.247 GB, free: 215.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.02937/1.604, allocations: 13.05 MB / 1.26 GB, free: 212.1 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches