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.001188/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001146/0.001146, allocations: 195.4 kB / 16.26 MB, free: 6.621 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 69.03 kB / 0.9116 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2966, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.8753/1.172, allocations: 191.6 MB / 1.255 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01095/1.183, allocations: 9.947 MB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009834/1.184, allocations: 25.25 kB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009484/1.185, allocations: 335.5 kB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/1.188, allocations: 0.9648 MB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/1.191, allocations: 1.2 MB / 1.267 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002006/1.193, allocations: 1.697 MB / 1.269 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/1.194, allocations: 0.7889 MB / 1.269 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/1.197, allocations: 1.4 MB / 1.271 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007975/1.198, allocations: 0.5616 MB / 1.271 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/1.198, allocations: 62 kB / 1.271 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/1.201, allocations: 1.464 MB / 1.273 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004563/1.201, allocations: 345.3 kB / 1.273 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005536/1.202, allocations: 436.7 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003661/1.205, allocations: 1.588 MB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.205, allocations: 5.031 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.206, allocations: 1.438 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.948e-05/1.206, allocations: 0 / 1.275 GB, free: 5.246 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.002776/1.208, allocations: 1.147 MB / 1.276 GB, free: 20.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/1.208, allocations: 9.062 kB / 1.276 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/1.211, allocations: 291 kB / 1.277 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.212, allocations: 0.532 MB / 1.277 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/1.212, allocations: 59.78 kB / 1.277 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.212, allocations: 73.97 kB / 1.277 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.214, allocations: 0.8992 MB / 1.278 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/1.214, allocations: 1.531 kB / 1.278 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/1.214, allocations: 32.52 kB / 1.278 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.591e-05/1.214, allocations: 43.8 kB / 1.278 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/1.215, allocations: 0.573 MB / 1.279 GB, free: 20.05 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.004435/1.22, allocations: 3.499 MB / 1.282 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/1.22, allocations: 228 kB / 1.282 GB, free: 17.81 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/1.22, allocations: 146.6 kB / 1.282 GB, free: 17.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009908/1.221, allocations: 485.5 kB / 1.283 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/1.221, allocations: 41.42 kB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.903e-06/1.221, allocations: 0 / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001367/1.223, allocations: 453.9 kB / 1.283 GB, free: 17.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.223, allocations: 111 kB / 1.284 GB, free: 17.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.224, allocations: 0.8671 MB / 1.284 GB, free: 16.94 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/1.224, allocations: 30.45 kB / 1.284 GB, free: 16.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/1.224, allocations: 387.2 kB / 1.285 GB, free: 16.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/1.224, allocations: 71.94 kB / 1.285 GB, free: 16.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.224, allocations: 59.84 kB / 1.285 GB, free: 16.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/1.225, allocations: 318.5 kB / 1.285 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/1.225, allocations: 105.6 kB / 1.285 GB, free: 16.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/1.225, allocations: 215.9 kB / 1.285 GB, free: 16.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/1.226, allocations: 312 kB / 1.286 GB, free: 16.19 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.226, allocations: 1.219 kB / 1.286 GB, free: 16.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007684/1.226, allocations: 403.4 kB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.226, allocations: 7.75 kB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.227, allocations: 7.953 kB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.227, allocations: 7.594 kB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/1.227, allocations: 67.27 kB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.227, allocations: 4.016 kB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/1.227, allocations: 88.02 kB / 1.286 GB, free: 16.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/1.228, allocations: 17.64 kB / 1.286 GB, free: 16.06 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.0002893/1.228, allocations: 232.7 kB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/1.228, allocations: 78.66 kB / 1.287 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/1.229, allocations: 330 kB / 1.287 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.229, allocations: 2.344 kB / 1.287 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.229, allocations: 1.875 kB / 1.287 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.229, allocations: 2.703 kB / 1.287 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/1.231, allocations: 1.37 MB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.231, allocations: 4.781 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/1.231, allocations: 45.47 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.231, allocations: 7.938 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/1.231, allocations: 13.47 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/1.231, allocations: 7.953 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/1.231, allocations: 8.016 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/1.232, allocations: 0.5097 MB / 1.289 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/1.232, allocations: 184.9 kB / 1.289 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/1.232, allocations: 12.23 kB / 1.289 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/1.232, allocations: 31.97 kB / 1.289 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/1.233, allocations: 29.39 kB / 1.289 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/1.233, allocations: 11.5 kB / 1.289 GB, free: 14.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008192/1.233, allocations: 0.6138 MB / 1.29 GB, free: 14.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.52e-07/1.233, allocations: 1.031 kB / 1.29 GB, free: 14.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007206/1.234, allocations: 167.5 kB / 1.29 GB, free: 14.69 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.0005145/1.235, allocations: 194.7 kB / 1.29 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006219/1.235, allocations: 264.5 kB / 1.29 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.235, allocations: 0.9062 kB / 1.29 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/1.236, allocations: 126.8 kB / 1.29 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.238, allocations: 430.2 kB / 1.291 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/1.239, allocations: 1.48 MB / 1.292 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/1.24, allocations: 0.9951 MB / 1.293 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006273/1.241, allocations: 157.8 kB / 1.293 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/1.241, allocations: 49.44 kB / 1.294 GB, free: 12.98 MB / 1.014 GB Notification: Performance of SimCode: time 2.124e-06/1.241, allocations: 1.062 kB / 1.294 GB, free: 12.98 MB / 1.014 GB Notification: Performance of Templates: time 0.02469/1.265, allocations: 13.59 MB / 1.307 GB, free: 12.23 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