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.001532/0.001532, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001492/0.001492, allocations: 192.9 kB / 16.91 MB, free: 5.746 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 482.4 MB / 0.755 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 66.53 kB / 0.924 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3109, allocations: 162.2 MB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7699/1.081, allocations: 191.6 MB / 1.27 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009664/1.091, allocations: 9.958 MB / 1.279 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/1.092, allocations: 26.59 kB / 1.279 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009671/1.093, allocations: 334.1 kB / 1.28 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/1.095, allocations: 0.9433 MB / 1.281 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003055/1.098, allocations: 1.204 MB / 1.282 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002337/1.101, allocations: 1.684 MB / 1.283 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/1.102, allocations: 0.7883 MB / 1.284 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/1.106, allocations: 1.607 MB / 1.286 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/1.107, allocations: 0.5377 MB / 1.286 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/1.107, allocations: 62.34 kB / 1.286 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/1.111, allocations: 1.458 MB / 1.288 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007824/1.111, allocations: 347.6 kB / 1.288 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008092/1.112, allocations: 435.5 kB / 1.288 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/1.115, allocations: 1.069 MB / 1.29 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.115, allocations: 0.5 kB / 1.29 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/1.115, allocations: 1.469 kB / 1.29 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.565e-05/1.115, allocations: 0 / 1.29 GB, free: 6.762 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.002418/1.117, allocations: 1.147 MB / 1.291 GB, free: 22.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.117, allocations: 10.22 kB / 1.291 GB, free: 22.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/1.119, allocations: 288.2 kB / 1.291 GB, free: 22.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.12, allocations: 0.5318 MB / 1.291 GB, free: 21.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/1.12, allocations: 63.22 kB / 1.292 GB, free: 21.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/1.12, allocations: 73.81 kB / 1.292 GB, free: 21.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.122, allocations: 0.8938 MB / 1.292 GB, free: 21.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/1.122, allocations: 8.938 kB / 1.292 GB, free: 21.56 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/1.122, allocations: 35.36 kB / 1.292 GB, free: 21.56 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/1.122, allocations: 36.73 kB / 1.293 GB, free: 21.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.123, allocations: 0.5815 MB / 1.293 GB, free: 21.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/1.127, allocations: 3.499 MB / 1.297 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/1.128, allocations: 226.9 kB / 1.297 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.128, allocations: 148.1 kB / 1.297 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/1.129, allocations: 491.1 kB / 1.297 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.129, allocations: 33.56 kB / 1.297 GB, free: 18.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.405e-06/1.129, allocations: 0.8438 kB / 1.297 GB, free: 18.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001243/1.13, allocations: 451.8 kB / 1.298 GB, free: 18.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/1.13, allocations: 110 kB / 1.298 GB, free: 18.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/1.131, allocations: 0.8682 MB / 1.299 GB, free: 18.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/1.132, allocations: 30.48 kB / 1.299 GB, free: 18.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/1.132, allocations: 384.5 kB / 1.299 GB, free: 18.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/1.132, allocations: 76.56 kB / 1.299 GB, free: 18.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.132, allocations: 61.72 kB / 1.299 GB, free: 18.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.132, allocations: 321.7 kB / 1.3 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/1.132, allocations: 106 kB / 1.3 GB, free: 17.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/1.133, allocations: 210.9 kB / 1.3 GB, free: 17.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/1.133, allocations: 310.4 kB / 1.3 GB, free: 17.69 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.133, allocations: 2.312 kB / 1.3 GB, free: 17.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006975/1.134, allocations: 404.2 kB / 1.301 GB, free: 17.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.134, allocations: 5.938 kB / 1.301 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.134, allocations: 3.688 kB / 1.301 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.134, allocations: 4.094 kB / 1.301 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/1.134, allocations: 55.94 kB / 1.301 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.134, allocations: 11 kB / 1.301 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/1.135, allocations: 90.41 kB / 1.301 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/1.135, allocations: 15.69 kB / 1.301 GB, free: 17.57 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.0002844/1.135, allocations: 236.1 kB / 1.301 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.135, allocations: 78.34 kB / 1.301 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/1.136, allocations: 326.5 kB / 1.301 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.136, allocations: 2.438 kB / 1.301 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.136, allocations: 2.375 kB / 1.301 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.136, allocations: 1.094 kB / 1.301 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/1.138, allocations: 1.375 MB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/1.138, allocations: 4.281 kB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.138, allocations: 42.41 kB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.138, allocations: 6.656 kB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/1.138, allocations: 10.62 kB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/1.138, allocations: 10.89 kB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.138, allocations: 12.94 kB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/1.139, allocations: 0.5119 MB / 1.303 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/1.139, allocations: 191.5 kB / 1.303 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/1.139, allocations: 10.94 kB / 1.303 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/1.139, allocations: 32.61 kB / 1.304 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/1.139, allocations: 33.14 kB / 1.304 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/1.14, allocations: 10.62 kB / 1.304 GB, free: 16.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007233/1.14, allocations: 0.6122 MB / 1.304 GB, free: 16.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.14, allocations: 1.406 kB / 1.304 GB, free: 16.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006557/1.141, allocations: 156 kB / 1.304 GB, free: 16.2 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.0004582/1.141, allocations: 195.8 kB / 1.304 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000546/1.142, allocations: 272.3 kB / 1.305 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.142, allocations: 1.969 kB / 1.305 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/1.142, allocations: 134.6 kB / 1.305 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.144, allocations: 426 kB / 1.305 GB, free: 16.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1.146, allocations: 1.532 MB / 1.307 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/1.147, allocations: 0.989 MB / 1.308 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/1.147, allocations: 55.38 kB / 1.308 GB, free: 14.46 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.147, allocations: 0 / 1.308 GB, free: 14.46 MB / 1.014 GB Notification: Performance of Templates: time 0.01889/1.166, allocations: 11.99 MB / 1.32 GB, free: 13.42 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=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