Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 65.03 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3259, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02626/0.3522, allocations: 26.16 MB / 1.078 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3629, allocations: 7.176 MB / 1.085 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3646, allocations: 35.75 kB / 1.085 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.3659, allocations: 318.2 kB / 1.085 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.3692, allocations: 1.034 MB / 1.086 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.3722, allocations: 0.8613 MB / 1.087 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.377, allocations: 2.797 MB / 1.09 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.3783, allocations: 0.5274 MB / 1.09 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.38, allocations: 0.6066 MB / 1.091 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.3811, allocations: 0.5521 MB / 1.091 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3812, allocations: 32 kB / 1.091 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.3837, allocations: 0.7796 MB / 1.092 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.384, allocations: 147.3 kB / 1.092 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.3845, allocations: 350.2 kB / 1.092 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.3868, allocations: 1.18 MB / 1.094 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3868, allocations: 4 kB / 1.094 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3868, allocations: 0 / 1.094 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3868, allocations: 4 kB / 1.094 GB, free: 14.13 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002167/0.389, allocations: 1.055 MB / 1.095 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.3891, allocations: 8.031 kB / 1.095 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.3895, allocations: 87.98 kB / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.3912, allocations: 0.7217 MB / 1.095 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.3912, allocations: 40.94 kB / 1.096 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3914, allocations: 47.98 kB / 1.096 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3925, allocations: 0.5 MB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.3926, allocations: 15.88 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.3927, allocations: 16 kB / 1.096 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.3927, allocations: 12 kB / 1.096 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/0.3935, allocations: 323.7 kB / 1.096 GB, free: 11.19 MB / 0.8575 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.003841/0.3974, allocations: 2.729 MB / 1.099 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.3979, allocations: 198.5 kB / 1.099 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3981, allocations: 104.8 kB / 1.099 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.3986, allocations: 340.4 kB / 1.1 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.3986, allocations: 42.88 kB / 1.1 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.554e-06/0.3987, allocations: 0 / 1.1 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0008805/0.3995, allocations: 306.6 kB / 1.1 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3996, allocations: 55.39 kB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000856/0.4005, allocations: 0.5069 MB / 1.101 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.4005, allocations: 37.7 kB / 1.101 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.4009, allocations: 351.3 kB / 1.101 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.401, allocations: 82.91 kB / 1.101 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.4012, allocations: 77.61 kB / 1.101 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4013, allocations: 358.8 kB / 1.101 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.4016, allocations: 100.8 kB / 1.102 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.402, allocations: 234 kB / 1.102 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.4026, allocations: 341.2 kB / 1.102 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4026, allocations: 0 / 1.102 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009108/0.4036, allocations: 392.5 kB / 1.102 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.4036, allocations: 8 kB / 1.102 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.4036, allocations: 4 kB / 1.102 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.4037, allocations: 4 kB / 1.102 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.4041, allocations: 83.84 kB / 1.103 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.4041, allocations: 4 kB / 1.103 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.4048, allocations: 63.83 kB / 1.103 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.4049, allocations: 19.98 kB / 1.103 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004744/0.4054, allocations: 251.9 kB / 1.103 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003739/0.4057, allocations: 242.5 kB / 1.103 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005985/0.4064, allocations: 332 kB / 1.103 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.504e-06/0.4064, allocations: 7.984 kB / 1.103 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008731/0.4073, allocations: 378.3 kB / 1.104 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4073, allocations: 12.09 kB / 1.104 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4073, allocations: 4 kB / 1.104 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4073, allocations: 8 kB / 1.104 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.4077, allocations: 83.84 kB / 1.104 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.4078, allocations: 7.938 kB / 1.104 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/0.4084, allocations: 51.81 kB / 1.104 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.4084, allocations: 12 kB / 1.104 GB, free: 2.809 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0002015/0.4087, allocations: 208.5 kB / 1.104 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.4088, allocations: 55.34 kB / 1.104 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006946/0.4095, allocations: 285.5 kB / 1.104 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.4096, allocations: 7.938 kB / 1.104 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4096, allocations: 4 kB / 1.104 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005054/0.4101, allocations: 381.3 kB / 1.105 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4122, allocations: 1.057 MB / 1.106 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4122, allocations: 0 / 1.106 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.4125, allocations: 55.91 kB / 1.106 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.4126, allocations: 4 kB / 1.106 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.4126, allocations: 8 kB / 1.106 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.4126, allocations: 4 kB / 1.106 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4126, allocations: 4 kB / 1.106 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.4136, allocations: 0.5203 MB / 1.106 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.4139, allocations: 168.3 kB / 1.107 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4141, allocations: 8 kB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.4147, allocations: 35.81 kB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.4148, allocations: 31.91 kB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/0.4148, allocations: 12 kB / 1.107 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006829/0.4155, allocations: 403.1 kB / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4155, allocations: 0 / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001653/0.4172, allocations: 347.3 kB / 1.107 GB, free: 15.03 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009578/0.4182, allocations: 301.2 kB / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001/0.4192, allocations: 393.6 kB / 1.108 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4192, allocations: 0 / 1.108 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.4194, allocations: 107.9 kB / 1.108 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.4223, allocations: 374.1 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.4245, allocations: 1.309 MB / 1.11 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.4251, allocations: 0.8983 MB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007529/0.4258, allocations: 165 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.426, allocations: 63.36 kB / 1.111 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of SimCode: time 7.42e-07/0.426, allocations: 0 / 1.111 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.02275/0.4487, allocations: 12.25 MB / 1.123 GB, free: 15.28 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches