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.001531/0.001531, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.001577/0.001577, allocations: 192.4 kB / 17.2 MB, free: 5.609 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 65.84 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7621, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2274/0.9896, allocations: 194.2 MB / 1.273 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0129/1.003, allocations: 10.04 MB / 1.282 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009331/1.004, allocations: 31.81 kB / 1.282 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/1.005, allocations: 393 kB / 1.283 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002811/1.008, allocations: 1.011 MB / 1.284 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/1.011, allocations: 1.297 MB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002363/1.013, allocations: 1.678 MB / 1.287 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/1.014, allocations: 0.8316 MB / 1.287 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/1.018, allocations: 1.631 MB / 1.289 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/1.019, allocations: 0.5056 MB / 1.29 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/1.019, allocations: 64 kB / 1.29 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/1.021, allocations: 1.387 MB / 1.291 GB, free: 9.207 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/1.022, allocations: 351.1 kB / 1.291 GB, free: 8.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005041/1.022, allocations: 437.8 kB / 1.292 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/1.025, allocations: 1.484 MB / 1.293 GB, free: 6.945 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.025, allocations: 0 / 1.293 GB, free: 6.945 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.364e-06/1.025, allocations: 0 / 1.293 GB, free: 6.945 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.43e-05/1.025, allocations: 0 / 1.293 GB, free: 6.945 MB / 1.014 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.001768/1.027, allocations: 1.138 MB / 1.294 GB, free: 5.754 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.027, allocations: 11.97 kB / 1.294 GB, free: 5.742 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/1.028, allocations: 294.6 kB / 1.295 GB, free: 5.453 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/1.029, allocations: 0.5349 MB / 1.295 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/1.029, allocations: 57.98 kB / 1.295 GB, free: 4.824 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/1.03, allocations: 79.94 kB / 1.295 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.031, allocations: 0.8986 MB / 1.296 GB, free: 3.785 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.031, allocations: 3.984 kB / 1.296 GB, free: 3.781 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/1.031, allocations: 32 kB / 1.296 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/1.031, allocations: 41.23 kB / 1.296 GB, free: 3.711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/1.032, allocations: 0.571 MB / 1.297 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/1.036, allocations: 3.513 MB / 1.3 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/1.037, allocations: 231.7 kB / 1.3 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/1.037, allocations: 138.5 kB / 1.3 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008642/1.038, allocations: 489.4 kB / 1.301 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.038, allocations: 38.48 kB / 1.301 GB, free: 14.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.695e-06/1.038, allocations: 0 / 1.301 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.001288/1.039, allocations: 450.3 kB / 1.301 GB, free: 13.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.039, allocations: 114.7 kB / 1.302 GB, free: 13.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.04, allocations: 0.8724 MB / 1.302 GB, free: 12.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.04, allocations: 25.7 kB / 1.302 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/1.041, allocations: 387.8 kB / 1.303 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/1.041, allocations: 70.89 kB / 1.303 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.041, allocations: 69.59 kB / 1.303 GB, free: 12.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.041, allocations: 318 kB / 1.303 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/1.041, allocations: 95.92 kB / 1.303 GB, free: 11.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/1.041, allocations: 215.2 kB / 1.304 GB, free: 11.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/1.042, allocations: 313.3 kB / 1.304 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.042, allocations: 0 / 1.304 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007284/1.043, allocations: 404.3 kB / 1.304 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.043, allocations: 10.66 kB / 1.304 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.043, allocations: 0 / 1.304 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.043, allocations: 8 kB / 1.304 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/1.043, allocations: 63.78 kB / 1.304 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.043, allocations: 7.938 kB / 1.304 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/1.044, allocations: 79.05 kB / 1.304 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/1.044, allocations: 16.25 kB / 1.304 GB, free: 10.81 MB / 1.029 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.0002747/1.044, allocations: 233.7 kB / 1.305 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.044, allocations: 79.06 kB / 1.305 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/1.045, allocations: 319.5 kB / 1.305 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.045, allocations: 7.938 kB / 1.305 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.045, allocations: 0 / 1.305 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.045, allocations: 0 / 1.305 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/1.047, allocations: 1.373 MB / 1.306 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.047, allocations: 12.03 kB / 1.306 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/1.047, allocations: 43.92 kB / 1.306 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.047, allocations: 4 kB / 1.306 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/1.047, allocations: 16 kB / 1.306 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.047, allocations: 7.984 kB / 1.306 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.047, allocations: 7.938 kB / 1.306 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/1.048, allocations: 0.5142 MB / 1.307 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/1.048, allocations: 188.1 kB / 1.307 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/1.048, allocations: 12 kB / 1.307 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/1.048, allocations: 19.92 kB / 1.307 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/1.048, allocations: 24 kB / 1.307 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/1.048, allocations: 15.94 kB / 1.307 GB, free: 7.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007683/1.049, allocations: 0.6122 MB / 1.308 GB, free: 7.129 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.049, allocations: 4 kB / 1.308 GB, free: 7.125 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005739/1.05, allocations: 163.7 kB / 1.308 GB, free: 6.965 MB / 1.029 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.0003892/1.05, allocations: 183 kB / 1.308 GB, free: 6.785 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005757/1.051, allocations: 267.6 kB / 1.308 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.051, allocations: 0 / 1.308 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/1.051, allocations: 129.1 kB / 1.308 GB, free: 6.398 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.053, allocations: 426.8 kB / 1.309 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/1.055, allocations: 1.324 MB / 1.31 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/1.055, allocations: 0.9956 MB / 1.311 GB, free: 3.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/1.055, allocations: 51.44 kB / 1.311 GB, free: 3.508 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/1.055, allocations: 0 / 1.311 GB, free: 3.508 MB / 1.029 GB Notification: Performance of Templates: time 0.01784/1.073, allocations: 12 MB / 1.323 GB, free: 7.617 MB / 1.045 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=400 -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/jenkins1/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