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.001321/0.001321, allocations: 111.9 kB / 16.42 MB, free: 6.453 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.001253/0.001253, allocations: 192.3 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.09 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.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6952, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04084/0.7361, allocations: 41.59 MB / 1.129 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.7508, allocations: 10.39 MB / 1.139 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.7527, allocations: 59.91 kB / 1.139 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.7546, allocations: 0.6643 MB / 1.14 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.7594, allocations: 1.971 MB / 1.142 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.7625, allocations: 1.187 MB / 1.143 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004825/0.7673, allocations: 3.413 MB / 1.146 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.7691, allocations: 1.064 MB / 1.148 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.7728, allocations: 1.271 MB / 1.149 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.7747, allocations: 0.8762 MB / 1.15 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.7751, allocations: 99.72 kB / 1.15 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.7777, allocations: 0.8587 MB / 1.151 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004735/0.7782, allocations: 285.6 kB / 1.151 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.7795, allocations: 0.628 MB / 1.151 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.7832, allocations: 1.925 MB / 1.153 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7832, allocations: 1.125 kB / 1.153 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7832, allocations: 4 kB / 1.153 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.625e-05/0.7833, allocations: 0 / 1.153 GB, free: 9.223 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.003435/0.7867, allocations: 1.51 MB / 1.155 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7868, allocations: 7.812 kB / 1.155 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005059/0.7873, allocations: 134.6 kB / 1.155 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.7893, allocations: 1.113 MB / 1.156 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.7893, allocations: 54.88 kB / 1.156 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.7895, allocations: 68.12 kB / 1.156 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.7909, allocations: 0.7936 MB / 1.157 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.7909, allocations: 2.266 kB / 1.157 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.791, allocations: 29.97 kB / 1.157 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.791, allocations: 19.2 kB / 1.157 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.7923, allocations: 0.5703 MB / 1.158 GB, free: 6.828 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.004457/0.7967, allocations: 3.562 MB / 1.161 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.7973, allocations: 256.7 kB / 1.161 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.7977, allocations: 180.4 kB / 1.161 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/0.7982, allocations: 0.659 MB / 1.162 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7983, allocations: 41.64 kB / 1.162 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.7983, allocations: 0 / 1.162 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.00125/0.7995, allocations: 0.513 MB / 1.163 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.7996, allocations: 56.28 kB / 1.163 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.8009, allocations: 0.9475 MB / 1.164 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.8009, allocations: 37.2 kB / 1.164 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.8013, allocations: 0.4887 MB / 1.164 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.8015, allocations: 115.1 kB / 1.164 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.8016, allocations: 115.1 kB / 1.164 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.8017, allocations: 329.7 kB / 1.165 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.8022, allocations: 169.6 kB / 1.165 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.8027, allocations: 348.9 kB / 1.165 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008619/0.8035, allocations: 0.5099 MB / 1.166 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.8036, allocations: 3.219 kB / 1.166 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001207/0.8048, allocations: 0.6156 MB / 1.166 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.8048, allocations: 7.641 kB / 1.166 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.8048, allocations: 5.594 kB / 1.166 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8048, allocations: 11.94 kB / 1.166 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.8053, allocations: 122.7 kB / 1.166 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.8053, allocations: 13.58 kB / 1.166 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.806, allocations: 90.59 kB / 1.166 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.8061, allocations: 26.75 kB / 1.166 GB, free: 0.6797 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.0003503/0.8064, allocations: 276.1 kB / 1.167 GB, free: 484 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.8066, allocations: 98.75 kB / 1.167 GB, free: 432 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.8077, allocations: 490.1 kB / 1.167 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007565/0.8084, allocations: 444.9 kB / 1.168 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8084, allocations: 0 / 1.168 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.8088, allocations: 224.9 kB / 1.168 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.809, allocations: 13.81 kB / 1.168 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.8096, allocations: 33.58 kB / 1.168 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.8097, allocations: 22.81 kB / 1.168 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001054/0.8107, allocations: 0.4988 MB / 1.169 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001321/0.8121, allocations: 0.8192 MB / 1.169 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003556/0.8124, allocations: 181.1 kB / 1.169 GB, free: 14.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008655/0.8133, allocations: 0.6603 MB / 1.17 GB, free: 14.41 MB / 0.92 GB Notification: Performance of Backend: time 3.71e-07/0.8133, allocations: 0 / 1.17 GB, free: 14.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.8153, allocations: 0.6977 MB / 1.171 GB, free: 14.06 MB / 0.92 GB Notification: Performance of SimCode: time 0.004405/0.8197, allocations: 2.443 MB / 1.173 GB, free: 12.41 MB / 0.92 GB Notification: Performance of Templates: time 0.03637/0.8561, allocations: 21.49 MB / 1.194 GB, free: 1.418 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