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.001374/0.001374, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001486/0.001486, allocations: 222.2 kB / 23 MB, free: 4.91 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.715/2.715, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 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.002073/0.002073, allocations: 65.95 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3086, allocations: 170 MB / 1.284 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.046/0.3546, allocations: 38.4 MB / 1.321 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.3709, allocations: 9.662 MB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.3732, allocations: 79.31 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.3754, allocations: 0.6405 MB / 1.331 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.3814, allocations: 2.003 MB / 1.333 GB, free: 9.066 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.3848, allocations: 1.216 MB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004837/0.3896, allocations: 3.449 MB / 1.338 GB, free: 4.402 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.391, allocations: 0.8068 MB / 1.339 GB, free: 3.574 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.3941, allocations: 1.296 MB / 1.34 GB, free: 2.277 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.3958, allocations: 0.8944 MB / 1.341 GB, free: 1.379 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.396, allocations: 100 kB / 1.341 GB, free: 1.281 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.3979, allocations: 0.7095 MB / 1.342 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.3982, allocations: 294.8 kB / 1.342 GB, free: 288 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006879/0.3989, allocations: 0.5132 MB / 1.342 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.4021, allocations: 1.954 MB / 1.344 GB, free: 13.8 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4021, allocations: 3.938 kB / 1.344 GB, free: 13.8 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4021, allocations: 0 / 1.344 GB, free: 13.8 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.4021, allocations: 0 / 1.344 GB, free: 13.8 MB / 1.045 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.002705/0.4048, allocations: 1.473 MB / 1.346 GB, free: 12.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4048, allocations: 12.03 kB / 1.346 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.4052, allocations: 136.1 kB / 1.346 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.4072, allocations: 1.048 MB / 1.347 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.4073, allocations: 61.94 kB / 1.347 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4074, allocations: 75.95 kB / 1.347 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.409, allocations: 0.9411 MB / 1.348 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.409, allocations: 4 kB / 1.348 GB, free: 9.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.4091, allocations: 28 kB / 1.348 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.4091, allocations: 23.98 kB / 1.348 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.4104, allocations: 0.5711 MB / 1.349 GB, free: 9.289 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.003931/0.4143, allocations: 2.601 MB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.4149, allocations: 246.4 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.4152, allocations: 166.6 kB / 1.352 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.4155, allocations: 60.48 kB / 1.352 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4155, allocations: 38.56 kB / 1.352 GB, free: 6.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.4155, allocations: 0 / 1.352 GB, free: 6.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001224/0.4167, allocations: 0.5032 MB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4168, allocations: 59.34 kB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4179, allocations: 0.81 MB / 1.353 GB, free: 4.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.4179, allocations: 37.7 kB / 1.353 GB, free: 4.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.4184, allocations: 0.5039 MB / 1.354 GB, free: 4.141 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4185, allocations: 123 kB / 1.354 GB, free: 4.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.4186, allocations: 118.2 kB / 1.354 GB, free: 3.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4188, allocations: 329.9 kB / 1.354 GB, free: 3.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.4192, allocations: 161.2 kB / 1.354 GB, free: 3.414 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.4198, allocations: 0.4942 MB / 1.355 GB, free: 2.805 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.4207, allocations: 0.5148 MB / 1.355 GB, free: 2.219 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4207, allocations: 0 / 1.355 GB, free: 2.219 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001169/0.4218, allocations: 0.614 MB / 1.356 GB, free: 1.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4219, allocations: 8 kB / 1.356 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4219, allocations: 4 kB / 1.356 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.4219, allocations: 8 kB / 1.356 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.4224, allocations: 123.8 kB / 1.356 GB, free: 1.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.4224, allocations: 15.92 kB / 1.356 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.4229, allocations: 71.81 kB / 1.356 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.4229, allocations: 24 kB / 1.356 GB, free: 1.348 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.0004035/0.4233, allocations: 289.8 kB / 1.356 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4235, allocations: 87.44 kB / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.4245, allocations: 477.6 kB / 1.357 GB, free: 500 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.4245, allocations: 11.98 kB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4245, allocations: 0 / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007672/0.4253, allocations: 457.2 kB / 1.357 GB, free: 0 / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.4275, allocations: 1.166 MB / 1.358 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4275, allocations: 4 kB / 1.358 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.4278, allocations: 83.94 kB / 1.359 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4278, allocations: 4 kB / 1.359 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.4278, allocations: 8 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4279, allocations: 3.938 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4279, allocations: 4 kB / 1.359 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.4292, allocations: 0.7593 MB / 1.359 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.4295, allocations: 135.3 kB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.4296, allocations: 4 kB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.43, allocations: 31.91 kB / 1.359 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.4301, allocations: 28 kB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.4302, allocations: 27.98 kB / 1.359 GB, free: 13.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007423/0.4309, allocations: 0.542 MB / 1.36 GB, free: 13.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4309, allocations: 0 / 1.36 GB, free: 13.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001011/0.4319, allocations: 363 kB / 1.36 GB, free: 12.77 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.0006395/0.4326, allocations: 373.7 kB / 1.361 GB, free: 12.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009213/0.4335, allocations: 405 kB / 1.361 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4335, allocations: 0 / 1.361 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.4339, allocations: 176.5 kB / 1.361 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.436, allocations: 480.6 kB / 1.362 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.4388, allocations: 1.633 MB / 1.363 GB, free: 9.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.4393, allocations: 452.6 kB / 1.364 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.4395, allocations: 71.42 kB / 1.364 GB, free: 9.145 MB / 1.061 GB Notification: Performance of SimCode: time 1.222e-06/0.4395, allocations: 4 kB / 1.364 GB, free: 9.141 MB / 1.061 GB Notification: Performance of Templates: time 0.02662/0.4661, allocations: 16.87 MB / 1.38 GB, free: 8.395 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 -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: 14.14395427936688]