Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001608/0.001608, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001941/0.001941, allocations: 195.9 kB / 16.14 MB, free: 6.695 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.2 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3105, allocations: 157.4 MB / 1.052 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2055/0.5161, allocations: 191.9 MB / 1.239 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6805/1.197, allocations: 10.04 MB / 1.249 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/1.198, allocations: 27.59 kB / 1.249 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/1.199, allocations: 314.9 kB / 1.25 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/1.202, allocations: 0.9627 MB / 1.251 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/1.205, allocations: 1.196 MB / 1.252 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002829/1.208, allocations: 2.339 MB / 1.254 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/1.209, allocations: 0.7169 MB / 1.255 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/1.212, allocations: 1.321 MB / 1.256 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008245/1.213, allocations: 0.5559 MB / 1.257 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.424e-05/1.213, allocations: 42.28 kB / 1.257 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/1.216, allocations: 1.654 MB / 1.258 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004262/1.217, allocations: 327.4 kB / 1.258 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/1.217, allocations: 418.5 kB / 1.259 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/1.22, allocations: 1.568 MB / 1.26 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.22, allocations: 0 / 1.26 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/1.22, allocations: 2.625 kB / 1.26 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.22, allocations: 0 / 1.26 GB, free: 2.18 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.001808/1.222, allocations: 1.143 MB / 1.262 GB, free: 17.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.222, allocations: 9.234 kB / 1.262 GB, free: 17.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/1.224, allocations: 296.1 kB / 1.262 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008892/1.224, allocations: 0.5237 MB / 1.262 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/1.225, allocations: 61.78 kB / 1.262 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/1.225, allocations: 70.91 kB / 1.262 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/1.226, allocations: 0.8993 MB / 1.263 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.226, allocations: 3.188 kB / 1.263 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/1.226, allocations: 37.31 kB / 1.263 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/1.226, allocations: 43.5 kB / 1.263 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/1.227, allocations: 0.5737 MB / 1.264 GB, free: 16.98 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.004159/1.232, allocations: 3.5 MB / 1.267 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/1.232, allocations: 226.2 kB / 1.268 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/1.232, allocations: 146.1 kB / 1.268 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009594/1.233, allocations: 487.1 kB / 1.268 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/1.233, allocations: 41.84 kB / 1.268 GB, free: 14.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.905e-06/1.233, allocations: 0 / 1.268 GB, free: 14.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001322/1.235, allocations: 454.3 kB / 1.269 GB, free: 14.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/1.235, allocations: 107 kB / 1.269 GB, free: 13.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.236, allocations: 0.8692 MB / 1.27 GB, free: 13.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/1.236, allocations: 27.55 kB / 1.27 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/1.236, allocations: 387.4 kB / 1.27 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/1.236, allocations: 71.86 kB / 1.27 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.237, allocations: 62.12 kB / 1.27 GB, free: 13.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.237, allocations: 320.3 kB / 1.27 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/1.237, allocations: 104.5 kB / 1.271 GB, free: 13.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/1.237, allocations: 211.1 kB / 1.271 GB, free: 13.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/1.238, allocations: 311.3 kB / 1.271 GB, free: 13.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/1.238, allocations: 3.531 kB / 1.271 GB, free: 13.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008613/1.239, allocations: 396.9 kB / 1.271 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.239, allocations: 6.406 kB / 1.271 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.239, allocations: 3.453 kB / 1.271 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.239, allocations: 4.812 kB / 1.271 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/1.239, allocations: 62.62 kB / 1.272 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.239, allocations: 5.062 kB / 1.272 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/1.24, allocations: 90.83 kB / 1.272 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/1.24, allocations: 18.19 kB / 1.272 GB, free: 12.97 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.0003334/1.24, allocations: 237.3 kB / 1.272 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.24, allocations: 82.02 kB / 1.272 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/1.241, allocations: 326.6 kB / 1.272 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.241, allocations: 3.844 kB / 1.272 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.241, allocations: 1.031 kB / 1.272 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.241, allocations: 2.469 kB / 1.272 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/1.243, allocations: 1.368 MB / 1.274 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.243, allocations: 8.281 kB / 1.274 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/1.244, allocations: 45.84 kB / 1.274 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/1.244, allocations: 6.297 kB / 1.274 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/1.244, allocations: 9.656 kB / 1.274 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/1.244, allocations: 7.438 kB / 1.274 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.244, allocations: 15.78 kB / 1.274 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/1.244, allocations: 0.5202 MB / 1.274 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/1.245, allocations: 192.4 kB / 1.274 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/1.245, allocations: 9.703 kB / 1.274 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/1.245, allocations: 30.14 kB / 1.274 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/1.245, allocations: 28.75 kB / 1.274 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/1.245, allocations: 10.77 kB / 1.274 GB, free: 11.67 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009016/1.246, allocations: 0.6137 MB / 1.275 GB, free: 11.58 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.246, allocations: 0 / 1.275 GB, free: 11.58 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007285/1.247, allocations: 163.7 kB / 1.275 GB, free: 11.56 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.000462/1.247, allocations: 191.9 kB / 1.275 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006293/1.248, allocations: 257.6 kB / 1.276 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.248, allocations: 4.281 kB / 1.276 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/1.248, allocations: 124.9 kB / 1.276 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/1.25, allocations: 407.1 kB / 1.276 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/1.252, allocations: 1.473 MB / 1.278 GB, free: 10.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/1.253, allocations: 0.9894 MB / 1.279 GB, free: 9.852 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006066/1.254, allocations: 165 kB / 1.279 GB, free: 9.824 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/1.254, allocations: 53.59 kB / 1.279 GB, free: 9.812 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/1.254, allocations: 1.094 kB / 1.279 GB, free: 9.812 MB / 1.014 GB Notification: Performance of Templates: time 0.02946/1.283, allocations: 13.12 MB / 1.292 GB, free: 9.082 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches