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.001411/0.001411, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001672/0.001672, allocations: 190.7 kB / 17.34 MB, free: 5.738 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.67/2.67, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6991, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1866/0.8857, allocations: 194.1 MB / 1.416 GB, free: 10.71 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.8968, allocations: 10.04 MB / 1.426 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007819/0.8976, allocations: 27.81 kB / 1.426 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.8985, allocations: 404.9 kB / 1.426 GB, free: 220 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.901, allocations: 1.081 MB / 1.427 GB, free: 15.13 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.9037, allocations: 1.308 MB / 1.428 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.9054, allocations: 1.706 MB / 1.43 GB, free: 12.11 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009975/0.9064, allocations: 0.835 MB / 1.431 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.909, allocations: 1.467 MB / 1.432 GB, free: 9.781 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.9096, allocations: 0.5212 MB / 1.433 GB, free: 9.258 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.415e-05/0.9097, allocations: 68 kB / 1.433 GB, free: 9.191 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.9119, allocations: 1.411 MB / 1.434 GB, free: 7.777 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.9122, allocations: 351.1 kB / 1.435 GB, free: 7.434 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.9126, allocations: 437.8 kB / 1.435 GB, free: 7.004 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.9146, allocations: 1.512 MB / 1.437 GB, free: 5.488 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.9146, allocations: 0 / 1.437 GB, free: 5.488 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9146, allocations: 3.938 kB / 1.437 GB, free: 5.484 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.9146, allocations: 0 / 1.437 GB, free: 5.484 MB / 1.154 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.001417/0.916, allocations: 1.175 MB / 1.438 GB, free: 4.258 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.9161, allocations: 8.031 kB / 1.438 GB, free: 4.25 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.9178, allocations: 295.1 kB / 1.438 GB, free: 3.961 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008781/0.9187, allocations: 0.5705 MB / 1.439 GB, free: 3.348 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.9188, allocations: 58 kB / 1.439 GB, free: 3.289 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.9189, allocations: 79.98 kB / 1.439 GB, free: 3.211 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.9201, allocations: 0.8947 MB / 1.44 GB, free: 2.258 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.9202, allocations: 0 / 1.44 GB, free: 2.258 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.9202, allocations: 35.98 kB / 1.44 GB, free: 2.223 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.9203, allocations: 37.3 kB / 1.44 GB, free: 2.188 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009667/0.9213, allocations: 0.5854 MB / 1.44 GB, free: 1.605 MB / 1.154 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.003198/0.9245, allocations: 3.491 MB / 1.444 GB, free: 13.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.9249, allocations: 223.7 kB / 1.444 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.9251, allocations: 142.5 kB / 1.444 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007297/0.9258, allocations: 0.4897 MB / 1.444 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.9259, allocations: 34.5 kB / 1.444 GB, free: 12.91 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 3.296e-06/0.9259, allocations: 0 / 1.444 GB, free: 12.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.001146/0.927, allocations: 463.2 kB / 1.445 GB, free: 12.45 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.9271, allocations: 110.8 kB / 1.445 GB, free: 12.32 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/0.928, allocations: 0.8686 MB / 1.446 GB, free: 11.44 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9281, allocations: 37.69 kB / 1.446 GB, free: 11.39 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.9283, allocations: 384.2 kB / 1.446 GB, free: 11.02 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.9284, allocations: 71.33 kB / 1.446 GB, free: 10.95 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.9285, allocations: 69.62 kB / 1.446 GB, free: 10.87 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.9286, allocations: 310 kB / 1.447 GB, free: 10.56 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.9288, allocations: 103.9 kB / 1.447 GB, free: 10.46 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.9291, allocations: 211 kB / 1.447 GB, free: 10.21 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.9296, allocations: 312.4 kB / 1.447 GB, free: 9.871 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9296, allocations: 0 / 1.447 GB, free: 9.871 MB / 1.17 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006502/0.9303, allocations: 404.8 kB / 1.448 GB, free: 9.469 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9303, allocations: 4 kB / 1.448 GB, free: 9.465 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.9303, allocations: 4 kB / 1.448 GB, free: 9.461 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.9303, allocations: 7.984 kB / 1.448 GB, free: 9.453 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.9307, allocations: 59.91 kB / 1.448 GB, free: 9.395 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.9307, allocations: 7.938 kB / 1.448 GB, free: 9.387 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.9311, allocations: 83.28 kB / 1.448 GB, free: 9.305 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.9311, allocations: 16.22 kB / 1.448 GB, free: 9.289 MB / 1.17 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.0002654/0.9314, allocations: 241.6 kB / 1.448 GB, free: 9.043 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.9315, allocations: 79.48 kB / 1.448 GB, free: 8.965 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006371/0.9322, allocations: 320.8 kB / 1.448 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.9322, allocations: 7.922 kB / 1.448 GB, free: 8.633 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9322, allocations: 0 / 1.448 GB, free: 8.633 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.9324, allocations: 192.4 kB / 1.449 GB, free: 8.426 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.9325, allocations: 4 kB / 1.449 GB, free: 8.422 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.9329, allocations: 15.98 kB / 1.449 GB, free: 8.406 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.933, allocations: 15.98 kB / 1.449 GB, free: 8.391 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006811/0.9337, allocations: 484.4 kB / 1.449 GB, free: 7.91 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006497/0.9343, allocations: 0.6314 MB / 1.45 GB, free: 7.262 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002192/0.9346, allocations: 99.92 kB / 1.45 GB, free: 7.164 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007547/0.9353, allocations: 0.6199 MB / 1.45 GB, free: 6.551 MB / 1.17 GB Notification: Performance of Backend: time 3.81e-07/0.9353, allocations: 0 / 1.45 GB, free: 6.551 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.937, allocations: 0.5343 MB / 1.451 GB, free: 6.02 MB / 1.17 GB Notification: Performance of SimCode: time 0.002961/0.94, allocations: 1.917 MB / 1.453 GB, free: 4.047 MB / 1.17 GB Notification: Performance of Templates: time 0.0263/0.9663, allocations: 17.14 MB / 1.47 GB, free: 3.109 MB / 1.186 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/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