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.001292/0.001292, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001254/0.001254, allocations: 187 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.528/2.528, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8931/0.8945, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04645/0.941, allocations: 41.58 MB / 1.249 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.957, allocations: 10.41 MB / 1.259 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.9596, allocations: 59.62 kB / 1.259 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.962, allocations: 0.6404 MB / 1.26 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.9683, allocations: 1.881 MB / 1.262 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.9718, allocations: 1.183 MB / 1.263 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005299/0.9771, allocations: 3.403 MB / 1.266 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.9791, allocations: 1.052 MB / 1.267 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.9828, allocations: 1.271 MB / 1.268 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.9846, allocations: 0.8865 MB / 1.269 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000376/0.985, allocations: 100 kB / 1.269 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.9877, allocations: 0.8656 MB / 1.27 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.9882, allocations: 271 kB / 1.271 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.9896, allocations: 0.6298 MB / 1.271 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003772/0.9933, allocations: 1.926 MB / 1.273 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9934, allocations: 0 / 1.273 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9934, allocations: 0 / 1.273 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.529e-05/0.9934, allocations: 0 / 1.273 GB, free: 11.29 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003178/0.9966, allocations: 1.52 MB / 1.275 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.9967, allocations: 8.031 kB / 1.275 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.9971, allocations: 135.4 kB / 1.275 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.9989, allocations: 1.1 MB / 1.276 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.9989, allocations: 57.98 kB / 1.276 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.9991, allocations: 75.91 kB / 1.276 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1, allocations: 0.7866 MB / 1.277 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1, allocations: 4 kB / 1.277 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/1.001, allocations: 27.98 kB / 1.277 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/1.001, allocations: 20 kB / 1.277 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.002, allocations: 0.575 MB / 1.277 GB, free: 6.855 MB / 0.9981 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.004223/1.006, allocations: 3.547 MB / 1.281 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/1.006, allocations: 266.4 kB / 1.281 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/1.007, allocations: 180.7 kB / 1.281 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/1.007, allocations: 0.6492 MB / 1.282 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.007, allocations: 38.56 kB / 1.282 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/1.007, allocations: 0 / 1.282 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001212/1.009, allocations: 0.5246 MB / 1.282 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/1.009, allocations: 55.41 kB / 1.282 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.01, allocations: 0.9456 MB / 1.283 GB, free: 228 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1.01, allocations: 33.7 kB / 1.283 GB, free: 188 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/1.01, allocations: 0.4995 MB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/1.01, allocations: 118.4 kB / 1.284 GB, free: 15.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.01, allocations: 114 kB / 1.284 GB, free: 15.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.011, allocations: 325.9 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/1.011, allocations: 169 kB / 1.284 GB, free: 14.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/1.011, allocations: 354.9 kB / 1.285 GB, free: 14.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/1.012, allocations: 0.5031 MB / 1.285 GB, free: 13.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.012, allocations: 4 kB / 1.285 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001104/1.013, allocations: 0.6131 MB / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.013, allocations: 9.719 kB / 1.286 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.013, allocations: 4 kB / 1.286 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.013, allocations: 8.656 kB / 1.286 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/1.014, allocations: 127.8 kB / 1.286 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.014, allocations: 8 kB / 1.286 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/1.014, allocations: 87.19 kB / 1.286 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/1.015, allocations: 27.98 kB / 1.286 GB, free: 13.07 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.0003638/1.015, allocations: 273.6 kB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/1.015, allocations: 98.78 kB / 1.287 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009385/1.016, allocations: 490 kB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.016, allocations: 4 kB / 1.287 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.016, allocations: 0 / 1.287 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007035/1.017, allocations: 461.2 kB / 1.287 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/1.019, allocations: 1.366 MB / 1.289 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.019, allocations: 4 kB / 1.289 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/1.019, allocations: 71.89 kB / 1.289 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.019, allocations: 3.938 kB / 1.289 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/1.019, allocations: 11.98 kB / 1.289 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.019, allocations: 7.938 kB / 1.289 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.019, allocations: 4 kB / 1.289 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.02, allocations: 0.7603 MB / 1.29 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/1.021, allocations: 227.7 kB / 1.29 GB, free: 9.152 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.021, allocations: 12 kB / 1.29 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/1.021, allocations: 27.97 kB / 1.29 GB, free: 9.113 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/1.021, allocations: 31.95 kB / 1.29 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/1.022, allocations: 23.98 kB / 1.29 GB, free: 9.059 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008202/1.022, allocations: 0.6589 MB / 1.291 GB, free: 8.391 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.022, allocations: 0 / 1.291 GB, free: 8.391 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009964/1.023, allocations: 335.4 kB / 1.291 GB, free: 8.062 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000758/1.024, allocations: 397.2 kB / 1.291 GB, free: 7.676 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008635/1.025, allocations: 428.2 kB / 1.292 GB, free: 7.258 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.025, allocations: 0 / 1.292 GB, free: 7.258 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/1.025, allocations: 182.2 kB / 1.292 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.028, allocations: 0.604 MB / 1.292 GB, free: 6.488 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/1.03, allocations: 1.629 MB / 1.294 GB, free: 4.805 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/1.031, allocations: 1.036 MB / 1.295 GB, free: 3.738 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/1.031, allocations: 87.42 kB / 1.295 GB, free: 3.652 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.031, allocations: 3.938 kB / 1.295 GB, free: 3.648 MB / 1.014 GB Notification: Performance of Templates: time 0.02672/1.058, allocations: 18.1 MB / 1.313 GB, free: 1.707 MB / 1.029 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