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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.645/2.645, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 71.89 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3272, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.6534/0.9806, allocations: 38.4 MB / 1.155 GB, free: 38.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.9921, allocations: 9.659 MB / 1.164 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.9938, allocations: 79.44 kB / 1.164 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.9953, allocations: 0.6395 MB / 1.165 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.9994, allocations: 2.005 MB / 1.167 GB, free: 30.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/1.002, allocations: 1.212 MB / 1.168 GB, free: 29.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003292/1.005, allocations: 3.446 MB / 1.172 GB, free: 27.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/1.006, allocations: 0.807 MB / 1.172 GB, free: 27.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/1.009, allocations: 1.294 MB / 1.174 GB, free: 26.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/1.01, allocations: 0.8976 MB / 1.175 GB, free: 26.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/1.01, allocations: 97.75 kB / 1.175 GB, free: 26.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/1.011, allocations: 0.7192 MB / 1.175 GB, free: 26.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002161/1.011, allocations: 296.3 kB / 1.176 GB, free: 25.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004695/1.012, allocations: 0.5061 MB / 1.176 GB, free: 25.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/1.014, allocations: 1.957 MB / 1.178 GB, free: 24.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.014, allocations: 0 / 1.178 GB, free: 24.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/1.014, allocations: 0 / 1.178 GB, free: 24.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.357e-05/1.014, allocations: 0 / 1.178 GB, free: 24.97 MB / 1.076 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.002042/1.016, allocations: 1.484 MB / 1.179 GB, free: 23.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.016, allocations: 8.156 kB / 1.179 GB, free: 23.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/1.016, allocations: 137.5 kB / 1.18 GB, free: 23.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/1.018, allocations: 1.05 MB / 1.181 GB, free: 23.31 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/1.018, allocations: 55.88 kB / 1.181 GB, free: 23.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.018, allocations: 71.91 kB / 1.181 GB, free: 23.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/1.02, allocations: 0.9432 MB / 1.182 GB, free: 22.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/1.02, allocations: 5.688 kB / 1.182 GB, free: 22.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/1.02, allocations: 28.06 kB / 1.182 GB, free: 22.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.02, allocations: 25.08 kB / 1.182 GB, free: 22.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/1.021, allocations: 0.5683 MB / 1.182 GB, free: 22.48 MB / 1.076 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.003066/1.024, allocations: 2.603 MB / 1.185 GB, free: 20.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/1.025, allocations: 243 kB / 1.185 GB, free: 20.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/1.025, allocations: 164.2 kB / 1.185 GB, free: 20.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/1.025, allocations: 54.67 kB / 1.185 GB, free: 20.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.025, allocations: 48.31 kB / 1.185 GB, free: 20.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/1.025, allocations: 0 / 1.185 GB, free: 20.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.001133/1.026, allocations: 0.5027 MB / 1.186 GB, free: 20.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/1.026, allocations: 55.25 kB / 1.186 GB, free: 20.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/1.027, allocations: 0.8111 MB / 1.187 GB, free: 19.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/1.027, allocations: 37.33 kB / 1.187 GB, free: 19.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/1.028, allocations: 0.5098 MB / 1.187 GB, free: 19.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/1.028, allocations: 117.1 kB / 1.187 GB, free: 19.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.028, allocations: 118.6 kB / 1.187 GB, free: 19.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/1.028, allocations: 334.1 kB / 1.188 GB, free: 19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/1.028, allocations: 166.6 kB / 1.188 GB, free: 18.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/1.029, allocations: 0.4932 MB / 1.188 GB, free: 18.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/1.03, allocations: 0.5172 MB / 1.189 GB, free: 18.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.03, allocations: 1.312 kB / 1.189 GB, free: 18.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001107/1.031, allocations: 0.615 MB / 1.189 GB, free: 17.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.031, allocations: 6.656 kB / 1.189 GB, free: 17.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.031, allocations: 5.625 kB / 1.189 GB, free: 17.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/1.031, allocations: 8.031 kB / 1.189 GB, free: 17.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/1.031, allocations: 123.1 kB / 1.19 GB, free: 17.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/1.031, allocations: 13.59 kB / 1.19 GB, free: 17.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/1.032, allocations: 64.72 kB / 1.19 GB, free: 17.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/1.032, allocations: 30.09 kB / 1.19 GB, free: 17.82 MB / 1.076 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.0003056/1.032, allocations: 276 kB / 1.19 GB, free: 17.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/1.032, allocations: 94.2 kB / 1.19 GB, free: 17.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009689/1.033, allocations: 478.2 kB / 1.191 GB, free: 17.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.033, allocations: 5.547 kB / 1.191 GB, free: 17.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.033, allocations: 4 kB / 1.191 GB, free: 17.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007352/1.034, allocations: 460.4 kB / 1.191 GB, free: 17.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/1.036, allocations: 1.153 MB / 1.192 GB, free: 16.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.036, allocations: 2.156 kB / 1.192 GB, free: 16.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/1.036, allocations: 77.14 kB / 1.192 GB, free: 16.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.036, allocations: 2.984 kB / 1.192 GB, free: 16.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/1.036, allocations: 9.859 kB / 1.192 GB, free: 16.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/1.036, allocations: 10.8 kB / 1.192 GB, free: 16.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.036, allocations: 1.875 kB / 1.192 GB, free: 16.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/1.038, allocations: 0.7555 MB / 1.193 GB, free: 16.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/1.038, allocations: 134.6 kB / 1.193 GB, free: 16.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.038, allocations: 8.812 kB / 1.193 GB, free: 16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/1.039, allocations: 29.81 kB / 1.193 GB, free: 16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/1.039, allocations: 30.8 kB / 1.193 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/1.039, allocations: 27.69 kB / 1.193 GB, free: 15.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007513/1.04, allocations: 0.5475 MB / 1.194 GB, free: 15.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.04, allocations: 0 / 1.194 GB, free: 15.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001094/1.041, allocations: 362.1 kB / 1.194 GB, free: 15.66 MB / 1.076 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.0006864/1.041, allocations: 372.3 kB / 1.194 GB, free: 15.47 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000927/1.042, allocations: 408.1 kB / 1.195 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.042, allocations: 0 / 1.195 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/1.043, allocations: 174.4 kB / 1.195 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.045, allocations: 487.9 kB / 1.195 GB, free: 15.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/1.047, allocations: 1.595 MB / 1.197 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/1.048, allocations: 451 kB / 1.197 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000717/1.049, allocations: 175.5 kB / 1.198 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.049, allocations: 73.19 kB / 1.198 GB, free: 14.03 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/1.049, allocations: 0 / 1.198 GB, free: 14.03 MB / 1.076 GB Notification: Performance of Templates: time 0.0362/1.085, allocations: 18.73 MB / 1.216 GB, free: 11.52 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.272218427970074]