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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 202.1 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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=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 0.002049/0.002049, allocations: 67.91 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8845, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04923/0.9337, allocations: 42.29 MB / 1.315 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.9506, allocations: 10.45 MB / 1.326 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.9531, allocations: 59.69 kB / 1.326 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.9552, allocations: 0.6677 MB / 1.326 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005734/0.9609, allocations: 1.98 MB / 1.328 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.9642, allocations: 1.213 MB / 1.329 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005302/0.9695, allocations: 3.405 MB / 1.333 GB, free: 8.289 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.9711, allocations: 0.8022 MB / 1.333 GB, free: 7.465 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.9742, allocations: 1.275 MB / 1.335 GB, free: 6.191 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.9758, allocations: 0.9373 MB / 1.336 GB, free: 5.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.976, allocations: 100 kB / 1.336 GB, free: 5.152 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.9782, allocations: 0.8851 MB / 1.337 GB, free: 4.266 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.9785, allocations: 294.8 kB / 1.337 GB, free: 3.977 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008108/0.9793, allocations: 0.6298 MB / 1.338 GB, free: 3.344 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.9825, allocations: 1.927 MB / 1.339 GB, free: 1.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9825, allocations: 3.938 kB / 1.339 GB, free: 1.406 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9825, allocations: 0 / 1.339 GB, free: 1.406 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.9825, allocations: 3.938 kB / 1.339 GB, free: 1.402 MB / 1.029 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.002918/0.9855, allocations: 1.551 MB / 1.341 GB, free: 15.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.9855, allocations: 8.031 kB / 1.341 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.9859, allocations: 148 kB / 1.341 GB, free: 15.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.9879, allocations: 1.112 MB / 1.342 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.988, allocations: 54 kB / 1.342 GB, free: 14.44 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.9881, allocations: 72 kB / 1.342 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.9895, allocations: 0.7866 MB / 1.343 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.9896, allocations: 4 kB / 1.343 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.9897, allocations: 24 kB / 1.343 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.9897, allocations: 23.98 kB / 1.343 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.9909, allocations: 0.5711 MB / 1.344 GB, free: 12.93 MB / 1.045 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.004793/0.9957, allocations: 3.564 MB / 1.347 GB, free: 9.133 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.9963, allocations: 257 kB / 1.347 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.9967, allocations: 160.8 kB / 1.348 GB, free: 8.715 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.9973, allocations: 0.6609 MB / 1.348 GB, free: 7.906 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.9974, allocations: 38.56 kB / 1.348 GB, free: 7.859 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.9974, allocations: 4 kB / 1.348 GB, free: 7.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001363/0.9987, allocations: 0.5129 MB / 1.349 GB, free: 7.336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.9988, allocations: 51.41 kB / 1.349 GB, free: 7.273 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1, allocations: 0.9534 MB / 1.35 GB, free: 6.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/1, allocations: 37.7 kB / 1.35 GB, free: 6.258 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/1.001, allocations: 0.5004 MB / 1.35 GB, free: 5.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.001, allocations: 123 kB / 1.35 GB, free: 5.629 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.001, allocations: 118.2 kB / 1.35 GB, free: 5.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.001, allocations: 329.9 kB / 1.351 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/1.002, allocations: 161 kB / 1.351 GB, free: 5.02 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/1.002, allocations: 350.9 kB / 1.351 GB, free: 4.605 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/1.003, allocations: 0.5148 MB / 1.352 GB, free: 4.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.003, allocations: 0 / 1.352 GB, free: 4.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001298/1.004, allocations: 0.6141 MB / 1.352 GB, free: 3.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.004, allocations: 8.094 kB / 1.352 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.004, allocations: 12 kB / 1.352 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/1.004, allocations: 11.94 kB / 1.352 GB, free: 3.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/1.005, allocations: 119.8 kB / 1.352 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/1.005, allocations: 11.98 kB / 1.352 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/1.005, allocations: 83.44 kB / 1.353 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/1.006, allocations: 24 kB / 1.353 GB, free: 3.133 MB / 1.045 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.0004143/1.006, allocations: 289.5 kB / 1.353 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.006, allocations: 103.3 kB / 1.353 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/1.007, allocations: 484.5 kB / 1.353 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.007, allocations: 4 kB / 1.353 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.007, allocations: 0 / 1.353 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007896/1.008, allocations: 451 kB / 1.354 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/1.01, allocations: 1.375 MB / 1.355 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.01, allocations: 0 / 1.355 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/1.011, allocations: 79.88 kB / 1.355 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.011, allocations: 11.92 kB / 1.355 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.011, allocations: 8 kB / 1.355 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/1.011, allocations: 4 kB / 1.355 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.011, allocations: 4.156 kB / 1.355 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/1.012, allocations: 0.7683 MB / 1.356 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/1.013, allocations: 232.3 kB / 1.356 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.013, allocations: 11.98 kB / 1.356 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/1.013, allocations: 27.91 kB / 1.356 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/1.013, allocations: 28.09 kB / 1.356 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/1.013, allocations: 23.98 kB / 1.356 GB, free: 15.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009954/1.014, allocations: 0.6666 MB / 1.357 GB, free: 14.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.014, allocations: 3.938 kB / 1.357 GB, free: 14.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001045/1.015, allocations: 335.3 kB / 1.357 GB, free: 14.09 MB / 1.061 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.0008405/1.016, allocations: 400.2 kB / 1.358 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009482/1.017, allocations: 401 kB / 1.358 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/1.017, allocations: 4 kB / 1.358 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/1.018, allocations: 184 kB / 1.358 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.02, allocations: 0.6064 MB / 1.359 GB, free: 12.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/1.023, allocations: 1.627 MB / 1.36 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/1.024, allocations: 1.044 MB / 1.361 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006637/1.024, allocations: 201.6 kB / 1.362 GB, free: 9.578 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.025, allocations: 83.36 kB / 1.362 GB, free: 9.496 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.025, allocations: 0 / 1.362 GB, free: 9.496 MB / 1.061 GB Notification: Performance of Templates: time 0.04224/1.067, allocations: 21.64 MB / 1.383 GB, free: 4.125 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 cvode -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_2/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.706424810923636]