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.005657/0.005657, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.001157/0.001157, allocations: 196.8 kB / 16.67 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.83 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2912, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.858/1.149, allocations: 194.1 MB / 1.277 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01176/1.161, allocations: 10.04 MB / 1.287 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/1.162, allocations: 31.16 kB / 1.287 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009196/1.163, allocations: 394.1 kB / 1.288 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00244/1.165, allocations: 1.032 MB / 1.289 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/1.169, allocations: 1.286 MB / 1.29 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002024/1.171, allocations: 1.696 MB / 1.292 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/1.172, allocations: 0.8361 MB / 1.292 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/1.175, allocations: 1.424 MB / 1.294 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/1.176, allocations: 0.5312 MB / 1.294 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/1.176, allocations: 61.44 kB / 1.294 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/1.179, allocations: 1.41 MB / 1.296 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003998/1.179, allocations: 345.4 kB / 1.296 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004997/1.18, allocations: 441 kB / 1.297 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/1.182, allocations: 1.501 MB / 1.298 GB, free: 3.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.183, allocations: 0.7812 kB / 1.298 GB, free: 3.082 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/1.183, allocations: 0 / 1.298 GB, free: 3.082 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.27e-05/1.183, allocations: 1.125 kB / 1.298 GB, free: 3.082 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.001833/1.184, allocations: 1.144 MB / 1.299 GB, free: 2.406 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.184, allocations: 10.48 kB / 1.299 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/1.186, allocations: 294 kB / 1.299 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000951/1.187, allocations: 0.5675 MB / 1.3 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/1.187, allocations: 57.42 kB / 1.3 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.187, allocations: 81.84 kB / 1.3 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.189, allocations: 0.9006 MB / 1.301 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.189, allocations: 2.531 kB / 1.301 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/1.189, allocations: 31.72 kB / 1.301 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.077e-05/1.189, allocations: 43.58 kB / 1.301 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/1.19, allocations: 0.5732 MB / 1.302 GB, free: 1.871 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.003238/1.193, allocations: 3.486 MB / 1.305 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/1.194, allocations: 221.8 kB / 1.305 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/1.194, allocations: 146.5 kB / 1.305 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007579/1.195, allocations: 491.6 kB / 1.306 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.195, allocations: 39.97 kB / 1.306 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/1.195, allocations: 0.75 kB / 1.306 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.001197/1.196, allocations: 450 kB / 1.306 GB, free: 15.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.196, allocations: 107.6 kB / 1.306 GB, free: 14.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.197, allocations: 0.8717 MB / 1.307 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/1.197, allocations: 28.17 kB / 1.307 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/1.197, allocations: 381.9 kB / 1.308 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/1.197, allocations: 76.11 kB / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.197, allocations: 61.33 kB / 1.308 GB, free: 14.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.198, allocations: 322.1 kB / 1.308 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/1.198, allocations: 104 kB / 1.308 GB, free: 14.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/1.198, allocations: 219.7 kB / 1.308 GB, free: 14.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/1.199, allocations: 313 kB / 1.309 GB, free: 14.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.199, allocations: 1.094 kB / 1.309 GB, free: 14.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006764/1.199, allocations: 402.9 kB / 1.309 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.199, allocations: 6.406 kB / 1.309 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.199, allocations: 5.656 kB / 1.309 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.199, allocations: 6.156 kB / 1.309 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/1.2, allocations: 58.25 kB / 1.309 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.2, allocations: 10.23 kB / 1.309 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/1.2, allocations: 78.45 kB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/1.2, allocations: 19.72 kB / 1.309 GB, free: 13.89 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.0002496/1.2, allocations: 228.7 kB / 1.309 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/1.201, allocations: 80.91 kB / 1.31 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/1.201, allocations: 321.6 kB / 1.31 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.201, allocations: 2.344 kB / 1.31 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.201, allocations: 2.438 kB / 1.31 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.201, allocations: 4.609 kB / 1.31 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/1.203, allocations: 1.37 MB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.203, allocations: 5.219 kB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/1.203, allocations: 46.11 kB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.203, allocations: 6.438 kB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/1.203, allocations: 10 kB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.203, allocations: 11.62 kB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.203, allocations: 6.844 kB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/1.204, allocations: 0.5138 MB / 1.312 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/1.204, allocations: 184.2 kB / 1.312 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/1.204, allocations: 12.89 kB / 1.312 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/1.205, allocations: 15.92 kB / 1.312 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/1.205, allocations: 27.86 kB / 1.312 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/1.205, allocations: 14.09 kB / 1.312 GB, free: 12.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007349/1.206, allocations: 0.6096 MB / 1.313 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.206, allocations: 0 / 1.313 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006413/1.206, allocations: 166.4 kB / 1.313 GB, free: 12.52 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.0004677/1.207, allocations: 192.7 kB / 1.313 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005394/1.207, allocations: 271.8 kB / 1.313 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.207, allocations: 1.156 kB / 1.313 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/1.207, allocations: 127.3 kB / 1.313 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.209, allocations: 432.2 kB / 1.314 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/1.211, allocations: 1.244 MB / 1.315 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/1.212, allocations: 0.9924 MB / 1.316 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005687/1.213, allocations: 159.5 kB / 1.316 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/1.213, allocations: 52.81 kB / 1.316 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/1.213, allocations: 0.9062 kB / 1.316 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Templates: time 0.02567/1.238, allocations: 14.02 MB / 1.33 GB, free: 10.14 MB / 1.029 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/jenkins/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