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.007757/0.007757, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.001754/0.001754, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.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.368/2.368, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 62.72 kB / 0.9508 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2873, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.8885/1.176, allocations: 194.1 MB / 1.277 GB, free: 3.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01241/1.188, allocations: 10.04 MB / 1.287 GB, free: 3.867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/1.19, allocations: 30.19 kB / 1.287 GB, free: 3.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/1.191, allocations: 395.9 kB / 1.288 GB, free: 3.867 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/1.194, allocations: 1.077 MB / 1.289 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/1.198, allocations: 1.313 MB / 1.29 GB, free: 3.789 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002623/1.2, allocations: 1.704 MB / 1.292 GB, free: 3.785 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/1.202, allocations: 0.8338 MB / 1.292 GB, free: 3.684 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/1.205, allocations: 1.461 MB / 1.294 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000853/1.206, allocations: 0.5302 MB / 1.294 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/1.206, allocations: 62.88 kB / 1.294 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/1.21, allocations: 1.417 MB / 1.296 GB, free: 3.645 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004939/1.21, allocations: 344.2 kB / 1.296 GB, free: 3.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007277/1.211, allocations: 441.9 kB / 1.297 GB, free: 3.637 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003522/1.214, allocations: 1.514 MB / 1.298 GB, free: 3.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.215, allocations: 1.281 kB / 1.298 GB, free: 3.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.484e-06/1.215, allocations: 0.875 kB / 1.298 GB, free: 3.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.643e-05/1.215, allocations: 1.844 kB / 1.298 GB, free: 3.543 MB / 1.014 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.001704/1.216, allocations: 1.169 MB / 1.299 GB, free: 2.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.216, allocations: 9.312 kB / 1.299 GB, free: 2.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/1.218, allocations: 297.1 kB / 1.3 GB, free: 2.789 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/1.219, allocations: 0.5727 MB / 1.3 GB, free: 2.508 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/1.219, allocations: 63.59 kB / 1.3 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/1.219, allocations: 78.06 kB / 1.3 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/1.221, allocations: 0.8959 MB / 1.301 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/1.221, allocations: 5.625 kB / 1.301 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/1.221, allocations: 32.25 kB / 1.301 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/1.221, allocations: 37.62 kB / 1.301 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/1.222, allocations: 0.5794 MB / 1.302 GB, free: 2.297 MB / 1.014 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.003576/1.226, allocations: 3.487 MB / 1.305 GB, free: 16.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/1.226, allocations: 227.4 kB / 1.305 GB, free: 16.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/1.226, allocations: 147.2 kB / 1.306 GB, free: 16.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/1.227, allocations: 494.7 kB / 1.306 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.227, allocations: 33.56 kB / 1.306 GB, free: 15.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/1.227, allocations: 2.969 kB / 1.306 GB, free: 15.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.001223/1.228, allocations: 455.9 kB / 1.306 GB, free: 15.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/1.228, allocations: 107.3 kB / 1.307 GB, free: 15.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.23, allocations: 0.8664 MB / 1.307 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.23, allocations: 31.33 kB / 1.307 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/1.23, allocations: 388.8 kB / 1.308 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/1.23, allocations: 79.39 kB / 1.308 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.23, allocations: 63.14 kB / 1.308 GB, free: 14.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.23, allocations: 320.2 kB / 1.308 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/1.23, allocations: 109.2 kB / 1.308 GB, free: 14.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/1.231, allocations: 211 kB / 1.309 GB, free: 14.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/1.231, allocations: 320.3 kB / 1.309 GB, free: 14.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.231, allocations: 1.156 kB / 1.309 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006844/1.232, allocations: 400.5 kB / 1.309 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.232, allocations: 8.828 kB / 1.309 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.232, allocations: 4.188 kB / 1.309 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.232, allocations: 3.719 kB / 1.309 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/1.232, allocations: 62.83 kB / 1.309 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.232, allocations: 4.156 kB / 1.309 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/1.233, allocations: 83.66 kB / 1.309 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/1.233, allocations: 12.34 kB / 1.309 GB, free: 14.29 MB / 1.029 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.0002677/1.233, allocations: 242.2 kB / 1.31 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/1.233, allocations: 83.86 kB / 1.31 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/1.234, allocations: 325.6 kB / 1.31 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.234, allocations: 3.312 kB / 1.31 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.234, allocations: 2.344 kB / 1.31 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.234, allocations: 1.312 kB / 1.31 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/1.236, allocations: 1.371 MB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.236, allocations: 4.625 kB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.236, allocations: 42.89 kB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.236, allocations: 8.969 kB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/1.236, allocations: 14.28 kB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/1.236, allocations: 5.125 kB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.236, allocations: 10.03 kB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/1.237, allocations: 0.512 MB / 1.312 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/1.237, allocations: 193.7 kB / 1.312 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/1.237, allocations: 10.09 kB / 1.312 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/1.238, allocations: 16.69 kB / 1.312 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/1.238, allocations: 29.52 kB / 1.312 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/1.238, allocations: 16.55 kB / 1.312 GB, free: 13.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007531/1.238, allocations: 0.6108 MB / 1.313 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.238, allocations: 0 / 1.313 GB, free: 12.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006454/1.239, allocations: 161.8 kB / 1.313 GB, free: 12.91 MB / 1.029 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.0004229/1.24, allocations: 190.9 kB / 1.313 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005731/1.24, allocations: 270.2 kB / 1.313 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.24, allocations: 1.125 kB / 1.313 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/1.24, allocations: 133.4 kB / 1.314 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/1.242, allocations: 427.7 kB / 1.314 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.244, allocations: 1.269 MB / 1.315 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/1.245, allocations: 0.9919 MB / 1.316 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005353/1.245, allocations: 161.5 kB / 1.316 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/1.246, allocations: 49.03 kB / 1.316 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/1.246, allocations: 1.875 kB / 1.316 GB, free: 11.38 MB / 1.029 GB Notification: Performance of Templates: time 0.02734/1.273, allocations: 13.78 MB / 1.33 GB, free: 10.57 MB / 1.029 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