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.001604/0.001604, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001943/0.001943, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.742 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 72.95 kB / 0.908 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.8631/1.193, allocations: 191.6 MB / 1.251 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0119/1.205, allocations: 9.946 MB / 1.26 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/1.207, allocations: 25.56 kB / 1.26 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009997/1.208, allocations: 335.9 kB / 1.261 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/1.21, allocations: 0.9608 MB / 1.262 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003339/1.214, allocations: 1.197 MB / 1.263 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002464/1.216, allocations: 1.699 MB / 1.264 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/1.217, allocations: 0.7976 MB / 1.265 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/1.221, allocations: 1.401 MB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007201/1.221, allocations: 0.5552 MB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-05/1.222, allocations: 64.41 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/1.224, allocations: 1.465 MB / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004397/1.225, allocations: 347.5 kB / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000549/1.225, allocations: 442.4 kB / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/1.228, allocations: 1.579 MB / 1.271 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.228, allocations: 0.875 kB / 1.271 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.228, allocations: 0 / 1.271 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.228, allocations: 0 / 1.271 GB, free: 4.32 MB / 0.9981 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.001905/1.23, allocations: 1.143 MB / 1.272 GB, free: 19.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.23, allocations: 9.469 kB / 1.272 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/1.232, allocations: 296.5 kB / 1.272 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/1.233, allocations: 0.5315 MB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/1.233, allocations: 56.92 kB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.233, allocations: 77.14 kB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.235, allocations: 0.8949 MB / 1.274 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.235, allocations: 5 kB / 1.274 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/1.235, allocations: 32.03 kB / 1.274 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/1.235, allocations: 37.77 kB / 1.274 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/1.236, allocations: 0.576 MB / 1.274 GB, free: 19.12 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.004397/1.241, allocations: 3.51 MB / 1.278 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/1.241, allocations: 227.5 kB / 1.278 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/1.241, allocations: 145 kB / 1.278 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009871/1.242, allocations: 493.2 kB / 1.279 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.242, allocations: 38.66 kB / 1.279 GB, free: 16.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/1.242, allocations: 0.8125 kB / 1.279 GB, free: 16.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001597/1.244, allocations: 451.8 kB / 1.279 GB, free: 16.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/1.244, allocations: 106.8 kB / 1.279 GB, free: 16.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.246, allocations: 0.8687 MB / 1.28 GB, free: 16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/1.246, allocations: 30.17 kB / 1.28 GB, free: 15.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/1.246, allocations: 387.2 kB / 1.28 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/1.246, allocations: 76.27 kB / 1.281 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.246, allocations: 59.06 kB / 1.281 GB, free: 15.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.246, allocations: 317 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/1.247, allocations: 103 kB / 1.281 GB, free: 15.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/1.247, allocations: 215.4 kB / 1.281 GB, free: 15.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/1.247, allocations: 312 kB / 1.282 GB, free: 15.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.247, allocations: 2.156 kB / 1.282 GB, free: 15.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007569/1.248, allocations: 403.8 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.248, allocations: 7.609 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.248, allocations: 2.594 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.248, allocations: 4.844 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/1.249, allocations: 57.75 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.249, allocations: 8.188 kB / 1.282 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/1.249, allocations: 94.31 kB / 1.282 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/1.249, allocations: 17.73 kB / 1.282 GB, free: 15.13 MB / 1.014 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.0003221/1.25, allocations: 231 kB / 1.282 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.25, allocations: 78.75 kB / 1.282 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/1.25, allocations: 324.8 kB / 1.283 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.25, allocations: 3.594 kB / 1.283 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.25, allocations: 6.312 kB / 1.283 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.25, allocations: 2.984 kB / 1.283 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/1.253, allocations: 1.362 MB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.253, allocations: 4.781 kB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/1.253, allocations: 47.67 kB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.253, allocations: 5.906 kB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.253, allocations: 13.5 kB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.253, allocations: 9.484 kB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.253, allocations: 8.766 kB / 1.284 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/1.254, allocations: 0.5116 MB / 1.285 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/1.254, allocations: 186.2 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/1.254, allocations: 11.16 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/1.254, allocations: 34.14 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/1.254, allocations: 32.86 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/1.254, allocations: 10.03 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008458/1.255, allocations: 0.6144 MB / 1.285 GB, free: 13.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.255, allocations: 1.438 kB / 1.285 GB, free: 13.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007149/1.256, allocations: 158.1 kB / 1.286 GB, free: 13.77 MB / 1.014 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.0005163/1.257, allocations: 200.6 kB / 1.286 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006659/1.257, allocations: 267.9 kB / 1.286 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.257, allocations: 2.188 kB / 1.286 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/1.258, allocations: 127.4 kB / 1.286 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.26, allocations: 431.2 kB / 1.287 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/1.262, allocations: 1.478 MB / 1.288 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/1.262, allocations: 0.9873 MB / 1.289 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000694/1.263, allocations: 159.8 kB / 1.289 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.263, allocations: 50.34 kB / 1.289 GB, free: 12.06 MB / 1.014 GB Notification: Performance of SimCode: time 1.182e-06/1.263, allocations: 0 / 1.289 GB, free: 12.06 MB / 1.014 GB Notification: Performance of Templates: time 0.03142/1.295, allocations: 13.58 MB / 1.303 GB, free: 11.36 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/jenkins/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