Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.001591, allocations: 114.7 kB / 16.42 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.001848/0.001848, 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6993, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07228/0.7716, allocations: 77.18 MB / 1.243 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02449/0.7962, allocations: 18.88 MB / 1.261 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.7997, allocations: 111.4 kB / 1.261 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.8032, allocations: 1.285 MB / 1.262 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009702/0.813, allocations: 3.809 MB / 1.266 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.818, allocations: 2.103 MB / 1.268 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008234/0.8262, allocations: 6.687 MB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.8293, allocations: 2.102 MB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00495/0.8343, allocations: 2.373 MB / 1.279 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.8373, allocations: 1.742 MB / 1.281 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.8378, allocations: 204 kB / 1.281 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0041/0.8419, allocations: 1.63 MB / 1.283 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007623/0.8427, allocations: 0.5332 MB / 1.283 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.8447, allocations: 1.248 MB / 1.284 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005852/0.8506, allocations: 3.729 MB / 1.288 GB, free: 7.801 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.8506, allocations: 0 / 1.288 GB, free: 7.801 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8506, allocations: 3.938 kB / 1.288 GB, free: 7.797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.636e-05/0.8507, allocations: 0 / 1.288 GB, free: 7.797 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005041/0.8557, allocations: 2.707 MB / 1.291 GB, free: 5.023 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8558, allocations: 8.922 kB / 1.291 GB, free: 5.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/0.8565, allocations: 281.9 kB / 1.291 GB, free: 4.738 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.8598, allocations: 2.011 MB / 1.293 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.8599, allocations: 106.7 kB / 1.293 GB, free: 2.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.8601, allocations: 148 kB / 1.293 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.8626, allocations: 1.52 MB / 1.295 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.8627, allocations: 7.984 kB / 1.295 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.8628, allocations: 52 kB / 1.295 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.8628, allocations: 40 kB / 1.295 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.865, allocations: 1.13 MB / 1.296 GB, free: 15.59 MB / 1.029 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.007707/0.8727, allocations: 7.606 MB / 1.303 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009302/0.8736, allocations: 481.6 kB / 1.304 GB, free: 6.934 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.8743, allocations: 330.9 kB / 1.304 GB, free: 6.609 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007946/0.8751, allocations: 1.156 MB / 1.305 GB, free: 5.191 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.8751, allocations: 43.16 kB / 1.305 GB, free: 5.141 MB / 1.029 GB Notification: Performance of pre-optimization done (n=59): time 2.655e-06/0.8751, allocations: 0 / 1.305 GB, free: 5.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=59): time 0.002086/0.8772, allocations: 0.9573 MB / 1.306 GB, free: 4.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.8772, allocations: 63.97 kB / 1.306 GB, free: 4.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.8793, allocations: 1.779 MB / 1.308 GB, free: 2.289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.8794, allocations: 41.7 kB / 1.308 GB, free: 2.242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.8801, allocations: 0.9239 MB / 1.309 GB, free: 1.309 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.8803, allocations: 228.9 kB / 1.309 GB, free: 1.082 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.8806, allocations: 218.7 kB / 1.309 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8808, allocations: 357.9 kB / 1.31 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006651/0.8814, allocations: 322.4 kB / 1.31 GB, free: 196 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/0.8824, allocations: 0.6938 MB / 1.311 GB, free: 15.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.884, allocations: 1.008 MB / 1.312 GB, free: 14.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.884, allocations: 4 kB / 1.312 GB, free: 14.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00212/0.8861, allocations: 1.214 MB / 1.313 GB, free: 12.97 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8862, allocations: 15.98 kB / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.8862, allocations: 8 kB / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.8862, allocations: 19.94 kB / 1.313 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.8872, allocations: 296 kB / 1.313 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.8873, allocations: 19.94 kB / 1.313 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.8884, allocations: 162.4 kB / 1.313 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.8884, allocations: 51.98 kB / 1.313 GB, free: 12.41 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0006066/0.8891, allocations: 449.3 kB / 1.314 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.8893, allocations: 189.7 kB / 1.314 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.891, allocations: 0.8712 MB / 1.315 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001313/0.8924, allocations: 0.7879 MB / 1.316 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.8924, allocations: 4 kB / 1.316 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005534/0.893, allocations: 358.6 kB / 1.316 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.8932, allocations: 12 kB / 1.316 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.8941, allocations: 59.86 kB / 1.316 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.8942, allocations: 44.5 kB / 1.316 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002014/0.8962, allocations: 0.8811 MB / 1.317 GB, free: 8.672 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002278/0.8985, allocations: 1.392 MB / 1.318 GB, free: 7.262 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006201/0.8991, allocations: 332.3 kB / 1.319 GB, free: 6.938 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001517/0.9006, allocations: 1.203 MB / 1.32 GB, free: 5.715 MB / 1.045 GB Notification: Performance of Backend: time 3.6e-07/0.9006, allocations: 7.938 kB / 1.32 GB, free: 5.707 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.9035, allocations: 1.242 MB / 1.321 GB, free: 4.484 MB / 1.045 GB Notification: Performance of SimCode: time 0.007356/0.9109, allocations: 4.316 MB / 1.325 GB, free: 136 kB / 1.045 GB Notification: Performance of Templates: time 0.06311/0.974, allocations: 41.37 MB / 1.366 GB, free: 7.168 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches