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.001448/0.001448, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001864/0.001864, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.242/2.242, allocations: 390.3 MB / 0.6653 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.5 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2746, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.74/1.015, allocations: 194.1 MB / 1.14 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01249/1.027, allocations: 10.04 MB / 1.15 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/1.029, allocations: 30.91 kB / 1.15 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/1.03, allocations: 397.7 kB / 1.15 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003883/1.034, allocations: 1.02 MB / 1.151 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00407/1.039, allocations: 1.288 MB / 1.152 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003268/1.042, allocations: 1.7 MB / 1.154 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/1.043, allocations: 0.8369 MB / 1.155 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/1.048, allocations: 1.408 MB / 1.156 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/1.049, allocations: 0.5289 MB / 1.157 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/1.049, allocations: 63.12 kB / 1.157 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/1.053, allocations: 1.408 MB / 1.158 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005252/1.053, allocations: 345.7 kB / 1.158 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006944/1.054, allocations: 445.6 kB / 1.159 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003526/1.057, allocations: 1.475 MB / 1.16 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.057, allocations: 0 / 1.16 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/1.057, allocations: 1.312 kB / 1.16 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.571e-05/1.057, allocations: 0 / 1.16 GB, free: 1.469 MB / 0.8575 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.002028/1.06, allocations: 1.139 MB / 1.161 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/1.06, allocations: 9.719 kB / 1.161 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/1.061, allocations: 292.1 kB / 1.162 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009518/1.062, allocations: 0.5337 MB / 1.162 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/1.063, allocations: 60.97 kB / 1.162 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.063, allocations: 76.34 kB / 1.162 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/1.064, allocations: 0.9039 MB / 1.163 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/1.064, allocations: 5.344 kB / 1.163 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/1.064, allocations: 30.16 kB / 1.163 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/1.064, allocations: 40.14 kB / 1.163 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/1.065, allocations: 0.5764 MB / 1.164 GB, free: 15.54 MB / 0.8731 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.004183/1.07, allocations: 3.509 MB / 1.167 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.07, allocations: 226.7 kB / 1.168 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/1.07, allocations: 147.1 kB / 1.168 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009562/1.071, allocations: 495.6 kB / 1.168 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.071, allocations: 35.98 kB / 1.168 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/1.071, allocations: 3.938 kB / 1.168 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.001464/1.073, allocations: 450.5 kB / 1.169 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/1.073, allocations: 114.7 kB / 1.169 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/1.074, allocations: 0.8674 MB / 1.17 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.074, allocations: 31.23 kB / 1.17 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/1.075, allocations: 384.1 kB / 1.17 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/1.075, allocations: 79.92 kB / 1.17 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/1.075, allocations: 55.5 kB / 1.17 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.075, allocations: 317.8 kB / 1.17 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.075, allocations: 101.8 kB / 1.17 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/1.076, allocations: 221.3 kB / 1.171 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/1.076, allocations: 310.5 kB / 1.171 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.076, allocations: 1.031 kB / 1.171 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007963/1.077, allocations: 404.7 kB / 1.171 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.077, allocations: 4.938 kB / 1.171 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.077, allocations: 2.594 kB / 1.171 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.077, allocations: 5.5 kB / 1.171 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/1.077, allocations: 57.69 kB / 1.171 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.077, allocations: 8.375 kB / 1.171 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/1.078, allocations: 76.75 kB / 1.172 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/1.078, allocations: 16.75 kB / 1.172 GB, free: 10.24 MB / 0.8731 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.000324/1.078, allocations: 241.4 kB / 1.172 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.079, allocations: 80.59 kB / 1.172 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006803/1.079, allocations: 312.9 kB / 1.172 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.079, allocations: 6.312 kB / 1.172 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.079, allocations: 2.562 kB / 1.172 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.079, allocations: 2.438 kB / 1.172 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/1.081, allocations: 1.364 MB / 1.173 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.081, allocations: 9.188 kB / 1.173 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/1.082, allocations: 48.31 kB / 1.174 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.082, allocations: 5.312 kB / 1.174 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/1.082, allocations: 9.625 kB / 1.174 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.082, allocations: 15.11 kB / 1.174 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.082, allocations: 4.969 kB / 1.174 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/1.082, allocations: 0.5129 MB / 1.174 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/1.083, allocations: 195.2 kB / 1.174 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.083, allocations: 11.88 kB / 1.174 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/1.083, allocations: 13.34 kB / 1.174 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/1.083, allocations: 27.08 kB / 1.174 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/1.083, allocations: 15.23 kB / 1.174 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007575/1.084, allocations: 0.6161 MB / 1.175 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.81e-07/1.084, allocations: 1.25 kB / 1.175 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007584/1.085, allocations: 162.8 kB / 1.175 GB, free: 8.176 MB / 0.8731 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.0005229/1.085, allocations: 190 kB / 1.175 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006773/1.086, allocations: 267.7 kB / 1.176 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.086, allocations: 1.844 kB / 1.176 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/1.086, allocations: 126.7 kB / 1.176 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.088, allocations: 432.5 kB / 1.176 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/1.09, allocations: 1.313 MB / 1.177 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/1.091, allocations: 0.9939 MB / 1.178 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/1.091, allocations: 50.19 kB / 1.178 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/1.091, allocations: 0 / 1.178 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of Templates: time 0.02022/1.112, allocations: 11.99 MB / 1.19 GB, free: 0.7266 MB / 0.8731 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/jenkins1/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