Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001563/0.001563, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.001543/0.001543, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.663/2.663, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.81 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.323, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.5423/0.8654, allocations: 41.26 MB / 1.104 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.8815, allocations: 10.33 MB / 1.115 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.8842, allocations: 55.28 kB / 1.115 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.8866, allocations: 0.5525 MB / 1.115 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006637/0.8933, allocations: 1.751 MB / 1.117 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.8972, allocations: 1.106 MB / 1.118 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006353/0.9035, allocations: 3.409 MB / 1.121 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.9054, allocations: 1.041 MB / 1.122 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.9092, allocations: 1.25 MB / 1.123 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.9111, allocations: 0.9155 MB / 1.124 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.9113, allocations: 98.75 kB / 1.124 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.914, allocations: 0.8708 MB / 1.125 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.9144, allocations: 283 kB / 1.126 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009345/0.9153, allocations: 0.6295 MB / 1.126 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.9179, allocations: 1.492 MB / 1.128 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9179, allocations: 0 / 1.128 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9179, allocations: 4 kB / 1.128 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.608e-05/0.9179, allocations: 0 / 1.128 GB, free: 1.059 MB / 0.8575 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.003067/0.921, allocations: 1.51 MB / 1.129 GB, free: 36 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.9211, allocations: 10.95 kB / 1.129 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.9215, allocations: 137.8 kB / 1.129 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.9236, allocations: 1.078 MB / 1.13 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.9236, allocations: 55.28 kB / 1.13 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.9237, allocations: 72.19 kB / 1.13 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.9253, allocations: 0.7926 MB / 1.131 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.9254, allocations: 1.984 kB / 1.131 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.9254, allocations: 30.88 kB / 1.131 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.9255, allocations: 19.66 kB / 1.131 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.9267, allocations: 0.5707 MB / 1.132 GB, free: 14.65 MB / 0.8731 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.005092/0.9318, allocations: 3.544 MB / 1.135 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/0.9325, allocations: 257.8 kB / 1.136 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.9328, allocations: 182.2 kB / 1.136 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00061/0.9335, allocations: 0.6562 MB / 1.136 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.9335, allocations: 38.44 kB / 1.136 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.9335, allocations: 0 / 1.136 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.001357/0.9349, allocations: 0.5135 MB / 1.137 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.9349, allocations: 54.44 kB / 1.137 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.9363, allocations: 0.933 MB / 1.138 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.9364, allocations: 32.98 kB / 1.138 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.9369, allocations: 0.4915 MB / 1.138 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.937, allocations: 116.3 kB / 1.138 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.9372, allocations: 111.2 kB / 1.139 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9374, allocations: 337.5 kB / 1.139 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.9378, allocations: 164.8 kB / 1.139 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.9383, allocations: 346 kB / 1.139 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/0.9392, allocations: 0.5069 MB / 1.14 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.9393, allocations: 10.31 kB / 1.14 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001284/0.9406, allocations: 0.6198 MB / 1.14 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.9406, allocations: 6.844 kB / 1.14 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9406, allocations: 5.438 kB / 1.14 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.9406, allocations: 9.531 kB / 1.141 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.9411, allocations: 122.3 kB / 1.141 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.9411, allocations: 13.38 kB / 1.141 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.942, allocations: 117.6 kB / 1.141 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.942, allocations: 25.88 kB / 1.141 GB, free: 8.523 MB / 0.8731 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.0004535/0.9425, allocations: 276.8 kB / 1.141 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.9427, allocations: 98.81 kB / 1.141 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.9437, allocations: 485 kB / 1.142 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.9438, allocations: 4.812 kB / 1.142 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.9438, allocations: 5.188 kB / 1.142 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007721/0.9446, allocations: 453.9 kB / 1.142 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.9471, allocations: 1.354 MB / 1.143 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.9471, allocations: 2.188 kB / 1.143 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.9475, allocations: 73.55 kB / 1.143 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.9475, allocations: 7.219 kB / 1.143 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.9475, allocations: 13.81 kB / 1.143 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.9475, allocations: 3.109 kB / 1.143 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9475, allocations: 2.094 kB / 1.143 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.9489, allocations: 0.7722 MB / 1.144 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.9494, allocations: 222.2 kB / 1.144 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.9495, allocations: 11.56 kB / 1.144 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.9501, allocations: 56.22 kB / 1.144 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.9502, allocations: 28.17 kB / 1.145 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.9502, allocations: 21.56 kB / 1.145 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009579/0.9512, allocations: 0.648 MB / 1.145 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9512, allocations: 0 / 1.145 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00114/0.9523, allocations: 330.1 kB / 1.145 GB, free: 6.082 MB / 0.8731 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.0008595/0.9532, allocations: 391.4 kB / 1.146 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9543, allocations: 453.8 kB / 1.146 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9543, allocations: 1.125 kB / 1.146 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.9547, allocations: 192.4 kB / 1.146 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.9574, allocations: 0.615 MB / 1.147 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.9604, allocations: 1.967 MB / 1.149 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/0.9611, allocations: 1.033 MB / 1.15 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.9614, allocations: 87.19 kB / 1.15 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.9614, allocations: 0 / 1.15 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of Templates: time 0.03192/0.9933, allocations: 17.78 MB / 1.167 GB, free: 11.27 MB / 0.8887 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches