Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001298/0.001298, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.00126/0.00126, allocations: 189.7 kB / 17.34 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.358/1.358, 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 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 67.83 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8614, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04743/0.9089, allocations: 41.59 MB / 1.129 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.9285, allocations: 10.39 MB / 1.139 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.9317, allocations: 58.66 kB / 1.139 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.9346, allocations: 0.653 MB / 1.14 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008499/0.9431, allocations: 1.979 MB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004661/0.9478, allocations: 1.191 MB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007355/0.9552, allocations: 3.403 MB / 1.146 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.9578, allocations: 1.062 MB / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004443/0.9623, allocations: 1.28 MB / 1.149 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.9651, allocations: 0.8815 MB / 1.15 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007182/0.9658, allocations: 99.97 kB / 1.15 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.9694, allocations: 0.8608 MB / 1.151 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007755/0.9702, allocations: 276.8 kB / 1.151 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.9723, allocations: 0.6307 MB / 1.151 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005531/0.9778, allocations: 1.929 MB / 1.153 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.9778, allocations: 0 / 1.153 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9778, allocations: 4 kB / 1.153 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.691e-05/0.978, allocations: 0 / 1.153 GB, free: 9.449 MB / 0.9044 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.005091/0.9831, allocations: 1.505 MB / 1.155 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.9831, allocations: 9.312 kB / 1.155 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.9839, allocations: 139.1 kB / 1.155 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.9871, allocations: 1.113 MB / 1.156 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.9872, allocations: 50.88 kB / 1.156 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.9874, allocations: 76.72 kB / 1.156 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.9895, allocations: 0.7927 MB / 1.157 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.9896, allocations: 1.719 kB / 1.157 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.9897, allocations: 36.3 kB / 1.157 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.9897, allocations: 17.38 kB / 1.157 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.9912, allocations: 0.567 MB / 1.158 GB, free: 7.047 MB / 0.9044 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.006427/0.9977, allocations: 3.553 MB / 1.161 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.9984, allocations: 257.3 kB / 1.161 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.9988, allocations: 179.9 kB / 1.161 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.9995, allocations: 0.6627 MB / 1.162 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.9995, allocations: 42.17 kB / 1.162 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.9996, allocations: 0 / 1.162 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001668/1.001, allocations: 0.5129 MB / 1.163 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/1.001, allocations: 55.03 kB / 1.163 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.003, allocations: 0.9444 MB / 1.164 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/1.003, allocations: 33.23 kB / 1.164 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/1.004, allocations: 0.4895 MB / 1.164 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/1.004, allocations: 114.8 kB / 1.164 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/1.004, allocations: 111.1 kB / 1.164 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.005, allocations: 332.7 kB / 1.165 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/1.005, allocations: 166.2 kB / 1.165 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/1.006, allocations: 349 kB / 1.165 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.007, allocations: 0.5141 MB / 1.166 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.007, allocations: 3.031 kB / 1.166 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001569/1.008, allocations: 0.6149 MB / 1.166 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.008, allocations: 11.5 kB / 1.166 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.008, allocations: 5.797 kB / 1.166 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/1.008, allocations: 8.031 kB / 1.166 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/1.009, allocations: 123.1 kB / 1.166 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/1.009, allocations: 17.17 kB / 1.166 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/1.01, allocations: 87.27 kB / 1.166 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/1.01, allocations: 26.47 kB / 1.166 GB, free: 0.9102 MB / 0.9044 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.0005552/1.011, allocations: 279.5 kB / 1.167 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/1.011, allocations: 100.4 kB / 1.167 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/1.012, allocations: 485.2 kB / 1.167 GB, free: 464 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/1.012, allocations: 3.984 kB / 1.167 GB, free: 464 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.012, allocations: 0.6562 kB / 1.167 GB, free: 464 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008338/1.013, allocations: 451.6 kB / 1.168 GB, free: 164 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/1.016, allocations: 1.363 MB / 1.169 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.016, allocations: 5.094 kB / 1.169 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/1.016, allocations: 80.78 kB / 1.169 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.017, allocations: 10.5 kB / 1.169 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/1.017, allocations: 8.031 kB / 1.169 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.017, allocations: 3.812 kB / 1.169 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.017, allocations: 1.094 kB / 1.169 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/1.018, allocations: 0.767 MB / 1.17 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/1.019, allocations: 230.2 kB / 1.17 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/1.019, allocations: 7.688 kB / 1.17 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/1.02, allocations: 30.56 kB / 1.17 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/1.02, allocations: 24.25 kB / 1.17 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/1.02, allocations: 19.77 kB / 1.17 GB, free: 14.37 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00131/1.021, allocations: 0.664 MB / 1.171 GB, free: 13.98 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/1.021, allocations: 0 / 1.171 GB, free: 13.98 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001837/1.023, allocations: 329.2 kB / 1.171 GB, free: 13.91 MB / 0.92 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.001348/1.024, allocations: 404.4 kB / 1.172 GB, free: 13.68 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001291/1.026, allocations: 420.5 kB / 1.172 GB, free: 13.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.026, allocations: 0.9375 kB / 1.172 GB, free: 13.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004689/1.026, allocations: 188.2 kB / 1.172 GB, free: 13.42 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.03, allocations: 0.6101 MB / 1.173 GB, free: 13.1 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/1.033, allocations: 1.626 MB / 1.174 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/1.034, allocations: 1.029 MB / 1.175 GB, free: 11.19 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/1.034, allocations: 85.78 kB / 1.175 GB, free: 11.17 MB / 0.92 GB Notification: Performance of SimCode: time 1.132e-06/1.034, allocations: 1.312 kB / 1.175 GB, free: 11.17 MB / 0.92 GB Notification: Performance of Templates: time 0.03702/1.071, allocations: 18.1 MB / 1.193 GB, free: 1.723 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches