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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001883/0.001883, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.6 MB / 0.7451 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.73 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3285, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.8225/1.151, allocations: 194.1 MB / 1.258 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0125/1.164, allocations: 10.04 MB / 1.268 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/1.165, allocations: 30.88 kB / 1.268 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009582/1.166, allocations: 399 kB / 1.268 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/1.168, allocations: 1.029 MB / 1.269 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/1.171, allocations: 1.29 MB / 1.27 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001948/1.173, allocations: 1.691 MB / 1.272 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/1.174, allocations: 0.8279 MB / 1.273 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/1.177, allocations: 1.416 MB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/1.178, allocations: 0.5289 MB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/1.178, allocations: 64.78 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/1.181, allocations: 1.4 MB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/1.181, allocations: 349.8 kB / 1.276 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000724/1.182, allocations: 437.5 kB / 1.277 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003756/1.186, allocations: 1.481 MB / 1.278 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.186, allocations: 0.7969 kB / 1.278 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/1.186, allocations: 0 / 1.278 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.377e-05/1.186, allocations: 0.8125 kB / 1.278 GB, free: 5.348 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.001885/1.188, allocations: 1.151 MB / 1.279 GB, free: 20.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.188, allocations: 9.156 kB / 1.279 GB, free: 20.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/1.19, allocations: 298.6 kB / 1.28 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/1.191, allocations: 0.5261 MB / 1.28 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/1.191, allocations: 57.67 kB / 1.28 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.191, allocations: 79.36 kB / 1.28 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.192, allocations: 0.8977 MB / 1.281 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.192, allocations: 1.375 kB / 1.281 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/1.192, allocations: 31.52 kB / 1.281 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.114e-05/1.192, allocations: 49.33 kB / 1.281 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/1.193, allocations: 0.5706 MB / 1.282 GB, free: 20.14 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.004177/1.198, allocations: 3.511 MB / 1.285 GB, free: 17.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/1.198, allocations: 221.8 kB / 1.285 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/1.198, allocations: 147.2 kB / 1.286 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008911/1.199, allocations: 487.9 kB / 1.286 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.199, allocations: 44.94 kB / 1.286 GB, free: 17.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/1.199, allocations: 0.8438 kB / 1.286 GB, free: 17.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001273/1.201, allocations: 450.2 kB / 1.287 GB, free: 17.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/1.201, allocations: 107.3 kB / 1.287 GB, free: 17.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.202, allocations: 0.87 MB / 1.287 GB, free: 17.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.202, allocations: 31.95 kB / 1.288 GB, free: 17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/1.202, allocations: 383.8 kB / 1.288 GB, free: 16.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/1.202, allocations: 76.23 kB / 1.288 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.202, allocations: 60.66 kB / 1.288 GB, free: 16.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.202, allocations: 316.7 kB / 1.288 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/1.203, allocations: 104.9 kB / 1.288 GB, free: 16.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/1.203, allocations: 215.8 kB / 1.289 GB, free: 16.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/1.203, allocations: 308.4 kB / 1.289 GB, free: 16.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.203, allocations: 2.469 kB / 1.289 GB, free: 16.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007172/1.204, allocations: 402.8 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.204, allocations: 9.844 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.204, allocations: 3.031 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.204, allocations: 6.953 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/1.205, allocations: 63.27 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.205, allocations: 8.906 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/1.205, allocations: 73.3 kB / 1.289 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/1.205, allocations: 17.25 kB / 1.289 GB, free: 16.16 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.0002831/1.205, allocations: 229.9 kB / 1.29 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/1.206, allocations: 87.14 kB / 1.29 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/1.206, allocations: 324.8 kB / 1.29 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.206, allocations: 3.812 kB / 1.29 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.206, allocations: 1.469 kB / 1.29 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.206, allocations: 1.094 kB / 1.29 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/1.208, allocations: 1.372 MB / 1.291 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.208, allocations: 7.781 kB / 1.291 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/1.208, allocations: 45.23 kB / 1.291 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.208, allocations: 4.875 kB / 1.291 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/1.208, allocations: 11.91 kB / 1.291 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.208, allocations: 8.188 kB / 1.291 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.208, allocations: 6.25 kB / 1.291 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/1.209, allocations: 0.5089 MB / 1.292 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/1.209, allocations: 197 kB / 1.292 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/1.209, allocations: 11.27 kB / 1.292 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/1.21, allocations: 15.23 kB / 1.292 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/1.21, allocations: 29.06 kB / 1.292 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/1.21, allocations: 12.75 kB / 1.292 GB, free: 14.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007574/1.211, allocations: 0.6082 MB / 1.293 GB, free: 14.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.211, allocations: 1.531 kB / 1.293 GB, free: 14.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000646/1.211, allocations: 168.1 kB / 1.293 GB, free: 14.79 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.0004419/1.212, allocations: 190.8 kB / 1.293 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000584/1.212, allocations: 270.2 kB / 1.293 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.212, allocations: 1.25 kB / 1.293 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/1.213, allocations: 128.8 kB / 1.294 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.214, allocations: 427.9 kB / 1.294 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/1.216, allocations: 1.271 MB / 1.295 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/1.217, allocations: 0.9952 MB / 1.296 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005935/1.217, allocations: 166.1 kB / 1.296 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/1.217, allocations: 50.77 kB / 1.296 GB, free: 13.28 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.217, allocations: 0 / 1.296 GB, free: 13.28 MB / 1.014 GB Notification: Performance of Templates: time 0.02438/1.242, allocations: 13.69 MB / 1.31 GB, free: 12.51 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