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.001278/0.001278, 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.001374/0.001374, allocations: 203 kB / 22.17 MB, free: 5.211 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.426/1.426, allocations: 225.6 MB / 250.9 MB, free: 13.24 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.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.05 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.002003/0.002003, allocations: 63.91 kB / 1.109 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8493, allocations: 168.7 MB / 1.274 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04637/0.8956, allocations: 42.28 MB / 1.315 GB, free: 9.914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.9113, allocations: 10.45 MB / 1.326 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.913, allocations: 59.62 kB / 1.326 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.9146, allocations: 0.6677 MB / 1.326 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.9192, allocations: 1.975 MB / 1.328 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.9221, allocations: 1.201 MB / 1.329 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.9264, allocations: 3.408 MB / 1.333 GB, free: 8.117 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.9276, allocations: 0.806 MB / 1.333 GB, free: 7.289 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.9302, allocations: 1.269 MB / 1.335 GB, free: 6.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.9314, allocations: 0.9489 MB / 1.336 GB, free: 5.066 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.9316, allocations: 100 kB / 1.336 GB, free: 4.969 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.9334, allocations: 0.885 MB / 1.337 GB, free: 4.082 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.9337, allocations: 290.8 kB / 1.337 GB, free: 3.797 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006425/0.9344, allocations: 0.6337 MB / 1.338 GB, free: 3.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.937, allocations: 1.927 MB / 1.339 GB, free: 1.227 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.937, allocations: 0 / 1.339 GB, free: 1.227 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.937, allocations: 4 kB / 1.339 GB, free: 1.223 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.937, allocations: 0 / 1.339 GB, free: 1.223 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.002601/0.9396, allocations: 1.552 MB / 1.341 GB, free: 15.61 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.9397, allocations: 8.031 kB / 1.341 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.94, allocations: 140.1 kB / 1.341 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.9419, allocations: 1.116 MB / 1.342 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.9419, allocations: 50 kB / 1.342 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.9421, allocations: 79.92 kB / 1.342 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.9434, allocations: 0.7943 MB / 1.343 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.9435, allocations: 4 kB / 1.343 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.9435, allocations: 32 kB / 1.343 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.9436, allocations: 20 kB / 1.343 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.9448, allocations: 0.5633 MB / 1.344 GB, free: 12.74 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.004251/0.949, allocations: 3.564 MB / 1.347 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.9496, allocations: 250.4 kB / 1.347 GB, free: 8.691 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.95, allocations: 168.7 kB / 1.348 GB, free: 8.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.9505, allocations: 0.657 MB / 1.348 GB, free: 7.719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.9506, allocations: 38.56 kB / 1.348 GB, free: 7.672 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.9506, allocations: 0 / 1.348 GB, free: 7.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001232/0.9518, allocations: 0.513 MB / 1.349 GB, free: 7.152 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.9518, allocations: 51.41 kB / 1.349 GB, free: 7.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.953, allocations: 0.9573 MB / 1.35 GB, free: 6.113 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.9531, allocations: 29.7 kB / 1.35 GB, free: 6.078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.9535, allocations: 0.4965 MB / 1.35 GB, free: 5.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.9537, allocations: 123 kB / 1.35 GB, free: 5.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.9538, allocations: 118.1 kB / 1.35 GB, free: 5.332 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.954, allocations: 329.9 kB / 1.351 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.9543, allocations: 169 kB / 1.351 GB, free: 4.836 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.9549, allocations: 343 kB / 1.351 GB, free: 4.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.9558, allocations: 0.5109 MB / 1.352 GB, free: 3.848 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.9558, allocations: 0 / 1.352 GB, free: 3.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001186/0.9569, allocations: 0.6217 MB / 1.352 GB, free: 3.219 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.957, allocations: 13.97 kB / 1.352 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.957, allocations: 8 kB / 1.352 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.957, allocations: 8.062 kB / 1.352 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.9575, allocations: 127.8 kB / 1.352 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.9575, allocations: 11.94 kB / 1.352 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.9581, allocations: 95.7 kB / 1.353 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.9581, allocations: 24 kB / 1.353 GB, free: 2.938 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.0003602/0.9585, allocations: 277.5 kB / 1.353 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.9586, allocations: 103.3 kB / 1.353 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.9597, allocations: 490.2 kB / 1.353 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.9597, allocations: 4 kB / 1.353 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9597, allocations: 0 / 1.353 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007918/0.9605, allocations: 455 kB / 1.354 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.9626, allocations: 1.371 MB / 1.355 GB, free: 152 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9626, allocations: 0 / 1.355 GB, free: 152 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.963, allocations: 71.94 kB / 1.355 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.963, allocations: 16.03 kB / 1.355 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.963, allocations: 8 kB / 1.355 GB, free: 56 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.963, allocations: 4 kB / 1.355 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.963, allocations: 0 / 1.355 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.9644, allocations: 0.7722 MB / 1.356 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.9648, allocations: 236.3 kB / 1.356 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.9649, allocations: 12 kB / 1.356 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.9654, allocations: 31.97 kB / 1.356 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.9655, allocations: 23.97 kB / 1.356 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.9655, allocations: 19.98 kB / 1.356 GB, free: 14.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008893/0.9664, allocations: 0.6627 MB / 1.357 GB, free: 14.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9664, allocations: 0 / 1.357 GB, free: 14.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009482/0.9674, allocations: 335.3 kB / 1.357 GB, free: 13.91 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.0007734/0.9682, allocations: 407.6 kB / 1.358 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009188/0.9691, allocations: 409 kB / 1.358 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9691, allocations: 4 kB / 1.358 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.9695, allocations: 175.8 kB / 1.358 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.9722, allocations: 0.6075 MB / 1.359 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.9747, allocations: 1.631 MB / 1.36 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.9754, allocations: 1.04 MB / 1.361 GB, free: 9.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006306/0.9761, allocations: 207.4 kB / 1.362 GB, free: 9.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.9762, allocations: 75.42 kB / 1.362 GB, free: 9.312 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.9762, allocations: 0 / 1.362 GB, free: 9.312 MB / 1.061 GB Notification: Performance of Templates: time 0.03813/1.014, allocations: 21.65 MB / 1.383 GB, free: 3.938 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 gbode -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.27120133396238]