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.004881/0.004881, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001184/0.001184, allocations: 199.4 kB / 16.68 MB, free: 5.969 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 / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.84 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3611, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.9892/1.35, allocations: 194.1 MB / 1.415 GB, free: 7.211 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01391/1.364, allocations: 10.04 MB / 1.425 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/1.366, allocations: 30.81 kB / 1.425 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/1.367, allocations: 396.9 kB / 1.425 GB, free: 14.7 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003189/1.37, allocations: 1.03 MB / 1.426 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003431/1.374, allocations: 1.288 MB / 1.428 GB, free: 12.93 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002469/1.376, allocations: 1.695 MB / 1.429 GB, free: 11.96 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/1.378, allocations: 0.8407 MB / 1.43 GB, free: 11.46 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/1.381, allocations: 1.416 MB / 1.432 GB, free: 10.56 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/1.382, allocations: 0.5298 MB / 1.432 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/1.382, allocations: 60.28 kB / 1.432 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/1.384, allocations: 1.411 MB / 1.433 GB, free: 9.445 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003438/1.385, allocations: 352.2 kB / 1.434 GB, free: 9.219 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004491/1.385, allocations: 433 kB / 1.434 GB, free: 8.891 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002123/1.387, allocations: 1.514 MB / 1.436 GB, free: 7.371 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.387, allocations: 4 kB / 1.436 GB, free: 7.367 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.132e-06/1.387, allocations: 0 / 1.436 GB, free: 7.367 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.43e-05/1.387, allocations: 0 / 1.436 GB, free: 7.367 MB / 1.123 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.001448/1.389, allocations: 1.168 MB / 1.437 GB, free: 6.148 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.389, allocations: 8.031 kB / 1.437 GB, free: 6.141 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/1.391, allocations: 303.6 kB / 1.437 GB, free: 5.844 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/1.392, allocations: 0.5744 MB / 1.438 GB, free: 5.227 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/1.392, allocations: 57.98 kB / 1.438 GB, free: 5.168 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/1.392, allocations: 72 kB / 1.438 GB, free: 5.098 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.393, allocations: 0.9064 MB / 1.439 GB, free: 4.133 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/1.393, allocations: 0 / 1.439 GB, free: 4.133 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/1.393, allocations: 29.31 kB / 1.439 GB, free: 4.105 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/1.393, allocations: 41.3 kB / 1.439 GB, free: 4.066 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009833/1.394, allocations: 0.5748 MB / 1.439 GB, free: 3.492 MB / 1.123 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.003524/1.398, allocations: 3.494 MB / 1.443 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/1.398, allocations: 229.4 kB / 1.443 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/1.398, allocations: 142.5 kB / 1.443 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007474/1.399, allocations: 489.4 kB / 1.444 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.399, allocations: 38.5 kB / 1.444 GB, free: 14.79 MB / 1.139 GB Notification: Performance of pre-optimization done (n=21): time 2.726e-06/1.399, allocations: 0 / 1.444 GB, free: 14.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=21): time 0.001316/1.4, allocations: 455.1 kB / 1.444 GB, free: 14.34 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/1.401, allocations: 110.8 kB / 1.444 GB, free: 14.21 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.402, allocations: 0.8644 MB / 1.445 GB, free: 13.33 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/1.402, allocations: 37.77 kB / 1.445 GB, free: 13.29 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/1.402, allocations: 396.1 kB / 1.445 GB, free: 12.9 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/1.402, allocations: 75.31 kB / 1.445 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.402, allocations: 65.69 kB / 1.446 GB, free: 12.75 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.402, allocations: 314 kB / 1.446 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/1.402, allocations: 103.9 kB / 1.446 GB, free: 12.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/1.403, allocations: 207 kB / 1.446 GB, free: 12.1 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/1.403, allocations: 324.8 kB / 1.446 GB, free: 11.74 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.403, allocations: 0 / 1.446 GB, free: 11.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000705/1.404, allocations: 407.3 kB / 1.447 GB, free: 11.34 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.404, allocations: 4 kB / 1.447 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.404, allocations: 4 kB / 1.447 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.404, allocations: 4 kB / 1.447 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/1.404, allocations: 63.91 kB / 1.447 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.404, allocations: 14.77 kB / 1.447 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/1.405, allocations: 79.34 kB / 1.447 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.405, allocations: 15.98 kB / 1.447 GB, free: 11.16 MB / 1.139 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.0002565/1.405, allocations: 233.7 kB / 1.447 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.405, allocations: 83.47 kB / 1.447 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/1.406, allocations: 321.3 kB / 1.448 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.406, allocations: 7.938 kB / 1.448 GB, free: 10.51 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.406, allocations: 3.625 kB / 1.448 GB, free: 10.51 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.406, allocations: 0 / 1.448 GB, free: 10.51 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/1.408, allocations: 1.373 MB / 1.449 GB, free: 9.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.408, allocations: 4.531 kB / 1.449 GB, free: 9.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/1.408, allocations: 51.91 kB / 1.449 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/1.408, allocations: 4 kB / 1.449 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.408, allocations: 12 kB / 1.449 GB, free: 8.957 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.408, allocations: 7.938 kB / 1.449 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.408, allocations: 7.938 kB / 1.449 GB, free: 8.941 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/1.409, allocations: 0.5108 MB / 1.45 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/1.409, allocations: 192.5 kB / 1.45 GB, free: 8.156 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/1.409, allocations: 7.984 kB / 1.45 GB, free: 8.148 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/1.409, allocations: 20 kB / 1.45 GB, free: 8.129 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/1.409, allocations: 27.84 kB / 1.45 GB, free: 8.102 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/1.409, allocations: 15.94 kB / 1.45 GB, free: 8.086 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007161/1.41, allocations: 0.616 MB / 1.45 GB, free: 7.477 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.41, allocations: 0 / 1.45 GB, free: 7.477 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005671/1.411, allocations: 163.8 kB / 1.451 GB, free: 7.316 MB / 1.139 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.0004193/1.411, allocations: 198.7 kB / 1.451 GB, free: 7.129 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005577/1.412, allocations: 264.1 kB / 1.451 GB, free: 6.871 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.412, allocations: 0 / 1.451 GB, free: 6.871 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/1.412, allocations: 127.7 kB / 1.451 GB, free: 6.746 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.414, allocations: 423 kB / 1.452 GB, free: 6.348 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/1.415, allocations: 1.26 MB / 1.453 GB, free: 5 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/1.416, allocations: 0.9994 MB / 1.454 GB, free: 3.973 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004471/1.416, allocations: 162.2 kB / 1.454 GB, free: 3.812 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.417, allocations: 51.44 kB / 1.454 GB, free: 3.766 MB / 1.139 GB Notification: Performance of SimCode: time 4.51e-07/1.417, allocations: 0 / 1.454 GB, free: 3.766 MB / 1.139 GB Notification: Performance of Templates: time 0.0225/1.439, allocations: 13.78 MB / 1.467 GB, free: 6.203 MB / 1.154 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