Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008441/0.0008441, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007691/0.0007691, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8862/0.8862, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.707/1.707, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.867e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02732/0.02735, allocations: 38.18 MB / 1.019 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.03748, allocations: 9.685 MB / 1.029 GB, free: 2.016 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.03882, allocations: 79.31 kB / 1.029 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.04003, allocations: 0.6518 MB / 1.03 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.0434, allocations: 2.055 MB / 1.032 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.04547, allocations: 1.263 MB / 1.033 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003196/0.04866, allocations: 3.486 MB / 1.036 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.04978, allocations: 0.8106 MB / 1.037 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.05267, allocations: 1.887 MB / 1.039 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009852/0.05366, allocations: 0.7904 MB / 1.04 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.05379, allocations: 100 kB / 1.04 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.05504, allocations: 0.7169 MB / 1.041 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.05524, allocations: 306.7 kB / 1.041 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.05558, allocations: 435 kB / 1.041 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.0575, allocations: 1.967 MB / 1.043 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.05751, allocations: 0 / 1.043 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.05751, allocations: 4 kB / 1.043 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.943e-05/0.05754, allocations: 0 / 1.043 GB, free: 3.438 MB / 0.9948 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.001854/0.05939, allocations: 1.469 MB / 1.045 GB, free: 1.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.05943, allocations: 8.031 kB / 1.045 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.05969, allocations: 148.1 kB / 1.045 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.06092, allocations: 1.068 MB / 1.046 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.06095, allocations: 50.38 kB / 1.046 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.06103, allocations: 83.89 kB / 1.046 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.529/0.59, allocations: 0.9407 MB / 1.047 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.5901, allocations: 5.828 kB / 1.047 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.5901, allocations: 26.22 kB / 1.047 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.5902, allocations: 27.84 kB / 1.047 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.5909, allocations: 0.5637 MB / 1.047 GB, free: 104.9 MB / 0.9948 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.002433/0.5933, allocations: 2.6 MB / 1.05 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.5937, allocations: 246.7 kB / 1.05 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.5939, allocations: 168.6 kB / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.5941, allocations: 59.91 kB / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.5941, allocations: 41.83 kB / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 3.316e-06/0.5941, allocations: 0 / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.0007141/0.5948, allocations: 0.5132 MB / 1.051 GB, free: 103 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.5948, allocations: 55.44 kB / 1.051 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/0.5955, allocations: 0.8196 MB / 1.052 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.5955, allocations: 34.05 kB / 1.052 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.5957, allocations: 0.5123 MB / 1.052 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.5958, allocations: 117.8 kB / 1.052 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.5959, allocations: 110.5 kB / 1.053 GB, free: 102 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.5959, allocations: 333.2 kB / 1.053 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.5961, allocations: 161.3 kB / 1.053 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.5964, allocations: 0.4966 MB / 1.054 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.5968, allocations: 0.5176 MB / 1.054 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5969, allocations: 10.31 kB / 1.054 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006285/0.5975, allocations: 0.6066 MB / 1.055 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.5975, allocations: 8.375 kB / 1.055 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.5975, allocations: 2.781 kB / 1.055 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.5975, allocations: 8.188 kB / 1.055 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.5978, allocations: 130.5 kB / 1.055 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.5978, allocations: 11.98 kB / 1.055 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.5981, allocations: 66.44 kB / 1.055 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.5982, allocations: 26.78 kB / 1.055 GB, free: 100.6 MB / 0.9948 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.000265/0.5984, allocations: 277.5 kB / 1.055 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.5985, allocations: 89.38 kB / 1.055 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005886/0.5991, allocations: 491.8 kB / 1.056 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5991, allocations: 2.938 kB / 1.056 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5991, allocations: 0 / 1.056 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003672/0.5995, allocations: 453 kB / 1.056 GB, free: 99.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6007, allocations: 1.164 MB / 1.057 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6007, allocations: 2.906 kB / 1.057 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.6009, allocations: 81.55 kB / 1.057 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.6009, allocations: 2.406 kB / 1.057 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.6009, allocations: 10.84 kB / 1.057 GB, free: 99.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6009, allocations: 3.812 kB / 1.057 GB, free: 99.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6009, allocations: 2.688 kB / 1.057 GB, free: 99.29 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.6016, allocations: 0.7616 MB / 1.058 GB, free: 98.89 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.6018, allocations: 142.3 kB / 1.058 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.6019, allocations: 6.969 kB / 1.058 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.6021, allocations: 29.45 kB / 1.058 GB, free: 98.81 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.6022, allocations: 30.06 kB / 1.058 GB, free: 98.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.6022, allocations: 19.19 kB / 1.058 GB, free: 98.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004215/0.6026, allocations: 0.5532 MB / 1.059 GB, free: 98.56 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6026, allocations: 1.031 kB / 1.059 GB, free: 98.56 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007939/0.6034, allocations: 356.8 kB / 1.059 GB, free: 98.52 MB / 0.9948 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.0005345/0.6039, allocations: 396.7 kB / 1.06 GB, free: 98.41 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005544/0.6045, allocations: 407.6 kB / 1.06 GB, free: 98.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6045, allocations: 0 / 1.06 GB, free: 98.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.6047, allocations: 175.7 kB / 1.06 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.6059, allocations: 483.5 kB / 1.061 GB, free: 98.15 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.6078, allocations: 1.574 MB / 1.062 GB, free: 97.27 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.6081, allocations: 447.9 kB / 1.063 GB, free: 97.15 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.6082, allocations: 79.53 kB / 1.063 GB, free: 97.14 MB / 0.9948 GB Notification: Performance of SimCode: time 1.603e-06/0.6082, allocations: 0 / 1.063 GB, free: 97.14 MB / 0.9948 GB Notification: Performance of Templates: time 0.0226/0.6308, allocations: 17.07 MB / 1.079 GB, free: 94.75 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.206488329917192]