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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001748/0.001748, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.341/2.341, allocations: 390.2 MB / 0.6642 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7211, allocations: 140.4 MB / 0.9489 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03941/0.7606, allocations: 41.34 MB / 0.9893 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.7755, allocations: 10.47 MB / 0.9995 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.7777, allocations: 47.69 kB / 0.9996 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.7797, allocations: 0.5284 MB / 1 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006711/0.7864, allocations: 1.746 MB / 1.002 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.7907, allocations: 1.061 MB / 1.003 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006254/0.797, allocations: 4.521 MB / 1.007 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.799, allocations: 0.881 MB / 1.008 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.8019, allocations: 1.042 MB / 1.009 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.8036, allocations: 0.8904 MB / 1.01 GB, free: 3.453 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.8038, allocations: 52 kB / 1.01 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.8063, allocations: 0.7794 MB / 1.011 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.8067, allocations: 231 kB / 1.011 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009768/0.8077, allocations: 0.579 MB / 1.012 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.8106, allocations: 1.87 MB / 1.013 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.8107, allocations: 7.938 kB / 1.013 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8107, allocations: 3.938 kB / 1.013 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.625e-05/0.8107, allocations: 0 / 1.013 GB, free: 15.93 MB / 0.7794 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.002915/0.8137, allocations: 1.507 MB / 1.015 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8137, allocations: 12.03 kB / 1.015 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.8141, allocations: 131.4 kB / 1.015 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.816, allocations: 1.084 MB / 1.016 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.816, allocations: 58 kB / 1.016 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.8162, allocations: 72 kB / 1.016 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.8176, allocations: 0.7944 MB / 1.017 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.8176, allocations: 0 / 1.017 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.8177, allocations: 35.94 kB / 1.017 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.8178, allocations: 23.98 kB / 1.017 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.8189, allocations: 0.5711 MB / 1.018 GB, free: 11.51 MB / 0.7794 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.004208/0.8232, allocations: 3.544 MB / 1.021 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.8238, allocations: 252.8 kB / 1.021 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.8241, allocations: 183.3 kB / 1.021 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.8247, allocations: 0.6648 MB / 1.022 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.8247, allocations: 42.5 kB / 1.022 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.8247, allocations: 0 / 1.022 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31): time 0.001239/0.826, allocations: 0.5124 MB / 1.023 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.826, allocations: 55.41 kB / 1.023 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.8273, allocations: 0.9299 MB / 1.024 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.8273, allocations: 33.7 kB / 1.024 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.8277, allocations: 499.6 kB / 1.024 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.8278, allocations: 114.4 kB / 1.024 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.828, allocations: 118.1 kB / 1.024 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8282, allocations: 325.9 kB / 1.025 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.8285, allocations: 161 kB / 1.025 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.829, allocations: 354.9 kB / 1.025 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.8299, allocations: 0.5186 MB / 1.026 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8299, allocations: 0 / 1.026 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001346/0.8312, allocations: 0.6169 MB / 1.026 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.8313, allocations: 8 kB / 1.026 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8313, allocations: 4 kB / 1.026 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.8313, allocations: 8.656 kB / 1.026 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.8318, allocations: 123.8 kB / 1.026 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.8318, allocations: 8 kB / 1.026 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.8326, allocations: 111.2 kB / 1.027 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.8327, allocations: 27.98 kB / 1.027 GB, free: 1.734 MB / 0.7794 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.0004083/0.8331, allocations: 285.4 kB / 1.027 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.8333, allocations: 102.8 kB / 1.027 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.8343, allocations: 480.4 kB / 1.027 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.8343, allocations: 4 kB / 1.027 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8343, allocations: 0 / 1.027 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007135/0.8351, allocations: 461.3 kB / 1.028 GB, free: 396 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.8373, allocations: 1.35 MB / 1.029 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8373, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.8376, allocations: 79.88 kB / 1.029 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.8377, allocations: 7.938 kB / 1.029 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.8377, allocations: 8 kB / 1.029 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.8377, allocations: 4.062 kB / 1.029 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8377, allocations: 7.938 kB / 1.029 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.839, allocations: 0.7661 MB / 1.03 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.8394, allocations: 223.8 kB / 1.03 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.8396, allocations: 11.98 kB / 1.03 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.8402, allocations: 51.86 kB / 1.03 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.8403, allocations: 31.89 kB / 1.03 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.8403, allocations: 19.98 kB / 1.03 GB, free: 13.71 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008805/0.8412, allocations: 0.6471 MB / 1.031 GB, free: 13.05 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8412, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001018/0.8423, allocations: 331.5 kB / 1.031 GB, free: 12.73 MB / 0.795 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.0008175/0.8431, allocations: 388.5 kB / 1.032 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009542/0.844, allocations: 416.9 kB / 1.032 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.8441, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.8445, allocations: 188 kB / 1.032 GB, free: 11.76 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.8474, allocations: 0.6041 MB / 1.033 GB, free: 11.17 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.8505, allocations: 1.93 MB / 1.035 GB, free: 9.188 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.8511, allocations: 1.036 MB / 1.036 GB, free: 8.117 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009155/0.852, allocations: 192.2 kB / 1.036 GB, free: 7.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.8523, allocations: 87.34 kB / 1.036 GB, free: 7.848 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/0.8523, allocations: 7.938 kB / 1.036 GB, free: 7.84 MB / 0.795 GB Notification: Performance of Templates: time 0.03449/0.8868, allocations: 20.17 MB / 1.056 GB, free: 3.953 MB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches