Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001861/0.001862, allocations: 106.1 kB / 15.98 MB, free: 6.332 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.001988/0.001988, allocations: 198.6 kB / 16.91 MB, free: 6.18 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.23 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3282, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7455/1.074, allocations: 191.6 MB / 1.251 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01325/1.087, allocations: 9.944 MB / 1.261 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/1.089, allocations: 23.81 kB / 1.261 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/1.09, allocations: 329.9 kB / 1.261 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002933/1.093, allocations: 0.9647 MB / 1.262 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/1.096, allocations: 1.201 MB / 1.263 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002557/1.099, allocations: 1.702 MB / 1.265 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.1, allocations: 0.7808 MB / 1.266 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/1.104, allocations: 1.413 MB / 1.267 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009852/1.105, allocations: 0.5485 MB / 1.268 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/1.105, allocations: 68 kB / 1.268 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/1.108, allocations: 1.465 MB / 1.269 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/1.109, allocations: 347.1 kB / 1.27 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000795/1.109, allocations: 437.8 kB / 1.27 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/1.111, allocations: 1.068 MB / 1.271 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.111, allocations: 0 / 1.271 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.486e-06/1.111, allocations: 7.984 kB / 1.271 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.774e-05/1.111, allocations: 0 / 1.271 GB, free: 5.105 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.002195/1.114, allocations: 1.146 MB / 1.272 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.114, allocations: 8.031 kB / 1.272 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/1.116, allocations: 290.5 kB / 1.272 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009909/1.117, allocations: 0.5311 MB / 1.273 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/1.117, allocations: 61.92 kB / 1.273 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/1.117, allocations: 75.94 kB / 1.273 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.119, allocations: 0.8948 MB / 1.274 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/1.119, allocations: 3.938 kB / 1.274 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/1.119, allocations: 31.98 kB / 1.274 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/1.119, allocations: 49.28 kB / 1.274 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.12, allocations: 0.5709 MB / 1.275 GB, free: 1.301 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.004385/1.124, allocations: 3.502 MB / 1.278 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/1.125, allocations: 228.5 kB / 1.278 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/1.125, allocations: 139.6 kB / 1.278 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009265/1.126, allocations: 485.4 kB / 1.279 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.126, allocations: 38.55 kB / 1.279 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.993e-06/1.126, allocations: 0 / 1.279 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.001335/1.127, allocations: 454.8 kB / 1.279 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/1.127, allocations: 114.7 kB / 1.279 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.129, allocations: 0.8645 MB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/1.129, allocations: 33.77 kB / 1.28 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/1.129, allocations: 387.7 kB / 1.281 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/1.129, allocations: 78.94 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.129, allocations: 61.62 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.129, allocations: 318 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/1.13, allocations: 99.92 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/1.13, allocations: 219 kB / 1.281 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/1.131, allocations: 314.9 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.131, allocations: 0 / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008281/1.131, allocations: 406.5 kB / 1.282 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.131, allocations: 8 kB / 1.282 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.132, allocations: 4 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.132, allocations: 4 kB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/1.132, allocations: 59.91 kB / 1.282 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.132, allocations: 7.938 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/1.132, allocations: 92.03 kB / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/1.132, allocations: 16 kB / 1.282 GB, free: 8.965 MB / 0.9981 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.0003533/1.133, allocations: 231 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/1.133, allocations: 79.06 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/1.134, allocations: 326.7 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.134, allocations: 7.938 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.134, allocations: 4 kB / 1.283 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.134, allocations: 3.984 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/1.136, allocations: 1.358 MB / 1.284 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/1.136, allocations: 4 kB / 1.284 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/1.136, allocations: 47.91 kB / 1.284 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/1.136, allocations: 4 kB / 1.284 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/1.136, allocations: 15.94 kB / 1.284 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/1.136, allocations: 11.88 kB / 1.284 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.136, allocations: 4 kB / 1.284 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/1.137, allocations: 0.5206 MB / 1.285 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/1.137, allocations: 188 kB / 1.285 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/1.137, allocations: 8 kB / 1.285 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/1.138, allocations: 27.97 kB / 1.285 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/1.138, allocations: 23.92 kB / 1.285 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/1.138, allocations: 15.94 kB / 1.285 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008564/1.139, allocations: 0.616 MB / 1.286 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 3.938 kB / 1.286 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006138/1.139, allocations: 159.7 kB / 1.286 GB, free: 5.121 MB / 0.9981 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.000525/1.14, allocations: 195.2 kB / 1.286 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006271/1.14, allocations: 262.5 kB / 1.286 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.14, allocations: 4.125 kB / 1.286 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002774/1.141, allocations: 131.7 kB / 1.286 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/1.143, allocations: 425.3 kB / 1.287 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/1.145, allocations: 1.537 MB / 1.288 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/1.145, allocations: 0.9917 MB / 1.289 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/1.146, allocations: 51.44 kB / 1.289 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.146, allocations: 0 / 1.289 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of Templates: time 0.02025/1.166, allocations: 11.99 MB / 1.301 GB, free: 5.582 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches