Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001391/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001708/0.001708, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6503/0.6516, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1961/0.8477, allocations: 191.9 MB / 1.204 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.8619, allocations: 10.04 MB / 1.214 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.8634, allocations: 23.81 kB / 1.214 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.865, allocations: 313.9 kB / 1.214 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.8684, allocations: 0.9724 MB / 1.215 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.872, allocations: 1.192 MB / 1.216 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003014/0.875, allocations: 2.341 MB / 1.219 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.8765, allocations: 0.7157 MB / 1.219 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.8803, allocations: 1.323 MB / 1.221 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.8814, allocations: 0.5484 MB / 1.221 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.8816, allocations: 48 kB / 1.221 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.8852, allocations: 1.656 MB / 1.223 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.8857, allocations: 335 kB / 1.223 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.8865, allocations: 409.8 kB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.8896, allocations: 1.566 MB / 1.225 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8896, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8896, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.473e-05/0.8897, allocations: 0 / 1.225 GB, free: 12.66 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.002366/0.8921, allocations: 1.15 MB / 1.226 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.8921, allocations: 12.03 kB / 1.226 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.8941, allocations: 290.6 kB / 1.226 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009997/0.8951, allocations: 0.5309 MB / 1.227 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.8952, allocations: 65.97 kB / 1.227 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.8953, allocations: 75.94 kB / 1.227 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.8969, allocations: 0.8908 MB / 1.228 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.8969, allocations: 4 kB / 1.228 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.897, allocations: 39.98 kB / 1.228 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.8971, allocations: 41.23 kB / 1.228 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.8981, allocations: 0.5749 MB / 1.229 GB, free: 8.852 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.004043/0.9022, allocations: 3.497 MB / 1.232 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.9026, allocations: 223.7 kB / 1.232 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.9029, allocations: 142.5 kB / 1.232 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009113/0.9038, allocations: 493.4 kB / 1.233 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.9039, allocations: 38.55 kB / 1.233 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 3.186e-06/0.9039, allocations: 0 / 1.233 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001367/0.9053, allocations: 450.7 kB / 1.233 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.9053, allocations: 114.7 kB / 1.233 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.9065, allocations: 0.8647 MB / 1.234 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.9065, allocations: 37.64 kB / 1.234 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.9069, allocations: 383.7 kB / 1.235 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.907, allocations: 70.94 kB / 1.235 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.9071, allocations: 61.69 kB / 1.235 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9073, allocations: 318 kB / 1.235 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.9075, allocations: 99.92 kB / 1.235 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.9078, allocations: 207.1 kB / 1.235 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.9084, allocations: 315.5 kB / 1.236 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9084, allocations: 0 / 1.236 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007458/0.9091, allocations: 402.1 kB / 1.236 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.9092, allocations: 4 kB / 1.236 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9092, allocations: 4 kB / 1.236 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.9092, allocations: 4 kB / 1.236 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.9095, allocations: 67.78 kB / 1.236 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.9096, allocations: 7.938 kB / 1.236 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.9101, allocations: 95.25 kB / 1.236 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.9102, allocations: 19.94 kB / 1.236 GB, free: 0.5312 MB / 0.9825 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.0002891/0.9105, allocations: 233.6 kB / 1.236 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.9106, allocations: 75.06 kB / 1.236 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006242/0.9113, allocations: 320.8 kB / 1.237 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9113, allocations: 3.938 kB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.9113, allocations: 4 kB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.9113, allocations: 3.984 kB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.9134, allocations: 1.365 MB / 1.238 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.9134, allocations: 8.062 kB / 1.238 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.9137, allocations: 43.91 kB / 1.238 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.9137, allocations: 8 kB / 1.238 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.9137, allocations: 11.94 kB / 1.238 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.9137, allocations: 8 kB / 1.238 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9137, allocations: 8.438 kB / 1.238 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.9144, allocations: 0.5206 MB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.9147, allocations: 192 kB / 1.239 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.9148, allocations: 8 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.9153, allocations: 35.91 kB / 1.239 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.9153, allocations: 23.92 kB / 1.239 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.9154, allocations: 11.94 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007919/0.9162, allocations: 0.6122 MB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9162, allocations: 0 / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006549/0.9168, allocations: 167.7 kB / 1.24 GB, free: 12.68 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.0005044/0.9174, allocations: 193.7 kB / 1.24 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006243/0.918, allocations: 256.1 kB / 1.24 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.918, allocations: 0 / 1.24 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.9183, allocations: 131.7 kB / 1.24 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.9202, allocations: 402.1 kB / 1.241 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.9224, allocations: 1.478 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.923, allocations: 0.9919 MB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006293/0.9236, allocations: 166.2 kB / 1.243 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.9238, allocations: 47.44 kB / 1.243 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9238, allocations: 4 kB / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of Templates: time 0.5139/1.438, allocations: 13.09 MB / 1.256 GB, free: 230.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches