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.0008094/0.0008094, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009762/0.0009762, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8699/0.8699, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.629/1.629, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9517 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.555e-05, allocations: 2.281 kB / 0.9518 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02564/0.02567, allocations: 38.11 MB / 0.989 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.009592/0.03526, allocations: 9.682 MB / 0.9984 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009714/0.03623, allocations: 83.25 kB / 0.9985 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.03732, allocations: 0.6364 MB / 0.9991 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.04032, allocations: 2.076 MB / 1.001 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.04209, allocations: 1.252 MB / 1.002 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002303/0.04439, allocations: 3.482 MB / 1.006 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.04506, allocations: 0.8145 MB / 1.007 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.04695, allocations: 1.715 MB / 1.008 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006358/0.04759, allocations: 0.7943 MB / 1.009 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.04768, allocations: 100 kB / 1.009 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.04868, allocations: 0.7324 MB / 1.01 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.04886, allocations: 302.7 kB / 1.01 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.04914, allocations: 431 kB / 1.011 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.05064, allocations: 1.971 MB / 1.012 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.05065, allocations: 0 / 1.012 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.392e-06/0.05065, allocations: 0 / 1.012 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.05066, allocations: 0 / 1.012 GB, free: 3.461 MB / 0.9167 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.001497/0.05215, allocations: 1.469 MB / 1.014 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.05219, allocations: 12.03 kB / 1.014 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.05241, allocations: 140.1 kB / 1.014 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.05355, allocations: 1.059 MB / 1.015 GB, free: 0.707 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.05359, allocations: 62.38 kB / 1.015 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.05366, allocations: 71.94 kB / 1.015 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4545/0.5082, allocations: 0.9357 MB / 1.016 GB, free: 76.37 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.5082, allocations: 0.6875 kB / 1.016 GB, free: 76.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.5083, allocations: 33.06 kB / 1.016 GB, free: 76.37 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/0.5083, allocations: 18.92 kB / 1.016 GB, free: 76.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/0.5093, allocations: 0.5689 MB / 1.017 GB, free: 76.28 MB / 0.9167 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.003087/0.5124, allocations: 2.608 MB / 1.019 GB, free: 74.71 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.5129, allocations: 244.3 kB / 1.019 GB, free: 74.62 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.5131, allocations: 164.1 kB / 1.02 GB, free: 74.57 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.5133, allocations: 58.02 kB / 1.02 GB, free: 74.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.5133, allocations: 42.05 kB / 1.02 GB, free: 74.51 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=31): time 2.776e-06/0.5133, allocations: 0.5938 kB / 1.02 GB, free: 74.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31): time 0.0008825/0.5142, allocations: 0.5079 MB / 1.02 GB, free: 74.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.5142, allocations: 55.73 kB / 1.02 GB, free: 74.26 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.5151, allocations: 0.8159 MB / 1.021 GB, free: 73.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.5151, allocations: 36.92 kB / 1.021 GB, free: 73.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.5154, allocations: 0.5134 MB / 1.022 GB, free: 73.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.5155, allocations: 120.8 kB / 1.022 GB, free: 73.44 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.5156, allocations: 111.6 kB / 1.022 GB, free: 73.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.5157, allocations: 325.4 kB / 1.022 GB, free: 73.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.5159, allocations: 167.4 kB / 1.022 GB, free: 73.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.5162, allocations: 0.4963 MB / 1.023 GB, free: 72.56 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.5168, allocations: 0.5182 MB / 1.023 GB, free: 72.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5168, allocations: 4.812 kB / 1.023 GB, free: 72.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008152/0.5176, allocations: 0.6118 MB / 1.024 GB, free: 71.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5176, allocations: 8.344 kB / 1.024 GB, free: 71.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5177, allocations: 8.297 kB / 1.024 GB, free: 71.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.5177, allocations: 8.312 kB / 1.024 GB, free: 71.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.518, allocations: 122.1 kB / 1.024 GB, free: 71.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.518, allocations: 9.094 kB / 1.024 GB, free: 71.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.5183, allocations: 74.11 kB / 1.024 GB, free: 71.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.5184, allocations: 30.59 kB / 1.024 GB, free: 71.93 MB / 0.9167 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.0002899/0.5187, allocations: 277.7 kB / 1.024 GB, free: 71.72 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5188, allocations: 90.31 kB / 1.025 GB, free: 71.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006873/0.5195, allocations: 477 kB / 1.025 GB, free: 71.49 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5195, allocations: 8.234 kB / 1.025 GB, free: 71.49 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5195, allocations: 5.156 kB / 1.025 GB, free: 71.49 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004992/0.52, allocations: 461.3 kB / 1.025 GB, free: 71.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.5216, allocations: 1.168 MB / 1.027 GB, free: 70.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5216, allocations: 1.125 kB / 1.027 GB, free: 70.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.5219, allocations: 77.53 kB / 1.027 GB, free: 70.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.5219, allocations: 2.812 kB / 1.027 GB, free: 70.62 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.5219, allocations: 13.48 kB / 1.027 GB, free: 70.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.5219, allocations: 3.344 kB / 1.027 GB, free: 70.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5219, allocations: 5.594 kB / 1.027 GB, free: 70.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.5229, allocations: 0.7569 MB / 1.027 GB, free: 70.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.5231, allocations: 136.5 kB / 1.028 GB, free: 70.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.5232, allocations: 12.05 kB / 1.028 GB, free: 70.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.5234, allocations: 25.69 kB / 1.028 GB, free: 70.14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.5235, allocations: 39.53 kB / 1.028 GB, free: 70.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.5235, allocations: 19.17 kB / 1.028 GB, free: 70.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005704/0.5241, allocations: 0.5511 MB / 1.028 GB, free: 69.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5241, allocations: 0 / 1.028 GB, free: 69.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008316/0.5249, allocations: 362.6 kB / 1.029 GB, free: 69.84 MB / 0.9167 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.0005372/0.5255, allocations: 385.2 kB / 1.029 GB, free: 69.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006422/0.5261, allocations: 412.1 kB / 1.029 GB, free: 69.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5261, allocations: 0 / 1.029 GB, free: 69.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.5264, allocations: 172.8 kB / 1.029 GB, free: 69.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5276, allocations: 479.9 kB / 1.03 GB, free: 69.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.5295, allocations: 1.584 MB / 1.031 GB, free: 68.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.5299, allocations: 455.1 kB / 1.032 GB, free: 68.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.53, allocations: 73.09 kB / 1.032 GB, free: 68.43 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/0.53, allocations: 0 / 1.032 GB, free: 68.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.02536/0.5554, allocations: 17.07 MB / 1.049 GB, free: 64.84 MB / 0.9167 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 -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/jenkins/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: 10.454797019250691]