Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 111 kB / 16.42 MB, free: 6.461 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.001863/0.001863, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 56.12 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.7009, allocations: 159.1 MB / 1.221 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0397/0.7407, allocations: 41.57 MB / 1.261 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.7545, allocations: 10.42 MB / 1.272 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.7562, allocations: 55.69 kB / 1.272 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.7578, allocations: 0.6638 MB / 1.272 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004895/0.7627, allocations: 1.977 MB / 1.274 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.7656, allocations: 1.189 MB / 1.275 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004293/0.7699, allocations: 3.401 MB / 1.279 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.7713, allocations: 1.063 MB / 1.28 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.7738, allocations: 1.268 MB / 1.281 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.775, allocations: 0.875 MB / 1.282 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.7752, allocations: 100 kB / 1.282 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.777, allocations: 0.8695 MB / 1.283 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.7773, allocations: 275 kB / 1.283 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006336/0.7779, allocations: 0.6299 MB / 1.284 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.7804, allocations: 1.93 MB / 1.286 GB, free: 15.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7804, allocations: 0 / 1.286 GB, free: 15.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7804, allocations: 4 kB / 1.286 GB, free: 15.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.7804, allocations: 0 / 1.286 GB, free: 15.8 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002281/0.7827, allocations: 1.507 MB / 1.287 GB, free: 14.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7827, allocations: 8.625 kB / 1.287 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.7831, allocations: 135.4 kB / 1.287 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.7847, allocations: 1.103 MB / 1.288 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.7848, allocations: 54 kB / 1.288 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.7849, allocations: 72 kB / 1.288 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.7862, allocations: 0.7944 MB / 1.289 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.7863, allocations: 3.938 kB / 1.289 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.7864, allocations: 32 kB / 1.289 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.7864, allocations: 16 kB / 1.289 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.7875, allocations: 0.5711 MB / 1.29 GB, free: 11.38 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.003849/0.7913, allocations: 3.555 MB / 1.293 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.7919, allocations: 262.4 kB / 1.294 GB, free: 7.332 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.7923, allocations: 168.8 kB / 1.294 GB, free: 7.164 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.7928, allocations: 0.6648 MB / 1.294 GB, free: 6.352 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.7928, allocations: 38.5 kB / 1.294 GB, free: 6.305 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 3.917e-06/0.7928, allocations: 4 kB / 1.294 GB, free: 6.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001175/0.794, allocations: 0.5046 MB / 1.295 GB, free: 5.789 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.7941, allocations: 55.41 kB / 1.295 GB, free: 5.723 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.7951, allocations: 0.9456 MB / 1.296 GB, free: 4.758 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.7952, allocations: 33.7 kB / 1.296 GB, free: 4.719 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.7956, allocations: 0.4957 MB / 1.296 GB, free: 4.215 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.7957, allocations: 114.4 kB / 1.296 GB, free: 4.102 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.7958, allocations: 110.1 kB / 1.297 GB, free: 3.988 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.796, allocations: 337.9 kB / 1.297 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.7963, allocations: 161 kB / 1.297 GB, free: 3.492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.7968, allocations: 350.9 kB / 1.297 GB, free: 3.078 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007956/0.7976, allocations: 0.5109 MB / 1.298 GB, free: 2.496 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7976, allocations: 4 kB / 1.298 GB, free: 2.492 MB / 1.014 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001101/0.7987, allocations: 0.6169 MB / 1.299 GB, free: 1.867 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7988, allocations: 8.688 kB / 1.299 GB, free: 1.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7988, allocations: 4 kB / 1.299 GB, free: 1.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.7988, allocations: 15.98 kB / 1.299 GB, free: 1.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.7993, allocations: 127.8 kB / 1.299 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.7993, allocations: 11.94 kB / 1.299 GB, free: 1.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/0.7999, allocations: 87.09 kB / 1.299 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.7999, allocations: 24 kB / 1.299 GB, free: 1.594 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003466/0.8003, allocations: 281.5 kB / 1.299 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.8005, allocations: 98.88 kB / 1.299 GB, free: 1.211 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000969/0.8014, allocations: 486 kB / 1.3 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007316/0.8022, allocations: 457.2 kB / 1.3 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8022, allocations: 0 / 1.3 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.8025, allocations: 219.8 kB / 1.3 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.8026, allocations: 7.938 kB / 1.3 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.8031, allocations: 35.94 kB / 1.3 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.8032, allocations: 20.25 kB / 1.3 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001006/0.8042, allocations: 0.4978 MB / 1.301 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001277/0.8055, allocations: 0.838 MB / 1.302 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003397/0.8059, allocations: 184.2 kB / 1.302 GB, free: 14.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007843/0.8067, allocations: 0.6585 MB / 1.302 GB, free: 13.75 MB / 1.029 GB Notification: Performance of Backend: time 3.41e-07/0.8067, allocations: 0 / 1.302 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.8084, allocations: 0.6815 MB / 1.303 GB, free: 13.07 MB / 1.029 GB Notification: Performance of SimCode: time 0.004122/0.8125, allocations: 2.461 MB / 1.305 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Templates: time 0.03434/0.8469, allocations: 21.49 MB / 1.326 GB, free: 5.328 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches