Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 105.9 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 443.5 MB / 0.731 GB, free: 12.7 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=502,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 67.89 kB / 1.06 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8561, allocations: 160.7 MB / 1.217 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05261/0.9087, allocations: 41.89 MB / 1.257 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.9269, allocations: 10.41 MB / 1.268 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.9294, allocations: 59.62 kB / 1.268 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.9318, allocations: 0.6716 MB / 1.268 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006283/0.938, allocations: 1.975 MB / 1.27 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.9417, allocations: 1.207 MB / 1.271 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006043/0.9478, allocations: 3.41 MB / 1.275 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.9498, allocations: 0.8569 MB / 1.276 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.9535, allocations: 1.267 MB / 1.277 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.9554, allocations: 0.9372 MB / 1.278 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.9558, allocations: 100 kB / 1.278 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.9583, allocations: 0.8967 MB / 1.279 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005323/0.9589, allocations: 290.8 kB / 1.279 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.9602, allocations: 0.6338 MB / 1.28 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004803/0.9651, allocations: 1.931 MB / 1.282 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.9651, allocations: 0 / 1.282 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9651, allocations: 0 / 1.282 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.127e-05/0.9651, allocations: 0 / 1.282 GB, free: 4.988 MB / 0.9825 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.003522/0.9686, allocations: 1.548 MB / 1.283 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9687, allocations: 12.62 kB / 1.283 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.9692, allocations: 148.1 kB / 1.283 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.9715, allocations: 1.104 MB / 1.284 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.9715, allocations: 54 kB / 1.284 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.9716, allocations: 72 kB / 1.284 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.9733, allocations: 0.7905 MB / 1.285 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.9733, allocations: 11.88 kB / 1.285 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.9734, allocations: 32 kB / 1.285 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.9734, allocations: 19.98 kB / 1.285 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.9747, allocations: 0.5671 MB / 1.286 GB, free: 0.5 MB / 0.9825 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.005098/0.9798, allocations: 3.564 MB / 1.289 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.9804, allocations: 246.4 kB / 1.289 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.9808, allocations: 172.7 kB / 1.29 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.9814, allocations: 0.6609 MB / 1.29 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.9814, allocations: 38.56 kB / 1.29 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.9814, allocations: 0 / 1.29 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001365/0.9828, allocations: 0.5151 MB / 1.291 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.9828, allocations: 55.41 kB / 1.291 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.9843, allocations: 0.9456 MB / 1.292 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.9843, allocations: 33.7 kB / 1.292 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/0.9848, allocations: 0.4926 MB / 1.292 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.985, allocations: 123 kB / 1.292 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.9852, allocations: 122.2 kB / 1.293 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9854, allocations: 329.9 kB / 1.293 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.9857, allocations: 165 kB / 1.293 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.9863, allocations: 344.3 kB / 1.293 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.9872, allocations: 0.5194 MB / 1.294 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9872, allocations: 0 / 1.294 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001364/0.9886, allocations: 0.6176 MB / 1.294 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.9886, allocations: 8 kB / 1.294 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.9886, allocations: 8 kB / 1.294 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.9886, allocations: 8 kB / 1.294 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.9891, allocations: 120.2 kB / 1.295 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.9891, allocations: 19.92 kB / 1.295 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.9898, allocations: 83.44 kB / 1.295 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.9899, allocations: 28 kB / 1.295 GB, free: 6.711 MB / 0.9981 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.0004662/0.9904, allocations: 277.5 kB / 1.295 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.9906, allocations: 103.3 kB / 1.295 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.9917, allocations: 487 kB / 1.296 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.9918, allocations: 4 kB / 1.296 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9918, allocations: 0 / 1.296 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000831/0.9926, allocations: 453.2 kB / 1.296 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.995, allocations: 1.367 MB / 1.297 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.995, allocations: 7.875 kB / 1.297 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.9954, allocations: 84.08 kB / 1.297 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.9954, allocations: 7.938 kB / 1.297 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.9954, allocations: 11.94 kB / 1.297 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.9954, allocations: 11.92 kB / 1.297 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9954, allocations: 64 / 1.297 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.9969, allocations: 0.7638 MB / 1.298 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.9973, allocations: 240.2 kB / 1.298 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.9975, allocations: 15.98 kB / 1.298 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.998, allocations: 27.97 kB / 1.298 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.9981, allocations: 23.97 kB / 1.298 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.9982, allocations: 15.98 kB / 1.299 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00102/0.9992, allocations: 0.6628 MB / 1.299 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9992, allocations: 0 / 1.299 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001119/1, allocations: 343.3 kB / 1.299 GB, free: 1.676 MB / 0.9981 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.0009477/1.001, allocations: 392.9 kB / 1.3 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.002, allocations: 404.3 kB / 1.3 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.002, allocations: 0 / 1.3 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/1.003, allocations: 180 kB / 1.3 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/1.006, allocations: 0.6118 MB / 1.301 GB, free: 124 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/1.009, allocations: 1.652 MB / 1.303 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/1.009, allocations: 1.032 MB / 1.304 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/1.01, allocations: 79.42 kB / 1.304 GB, free: 13.27 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.01, allocations: 4 kB / 1.304 GB, free: 13.27 MB / 1.014 GB Notification: Performance of Templates: time 0.03148/1.041, allocations: 18.19 MB / 1.321 GB, free: 11.23 MB / 1.029 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches