Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001029/0.001029, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 436.5 MB / 0.7104 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6075, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.16/0.7675, allocations: 156.6 MB / 1.174 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.7803, allocations: 10.02 MB / 1.184 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.7813, allocations: 43.62 kB / 1.184 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.7826, allocations: 0.4938 MB / 1.184 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.7878, allocations: 1.979 MB / 1.186 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005518/0.7933, allocations: 2.146 MB / 1.188 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002747/0.7961, allocations: 1.534 MB / 1.19 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009753/0.7971, allocations: 0.6024 MB / 1.19 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.7985, allocations: 0.771 MB / 1.191 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.7996, allocations: 0.693 MB / 1.192 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.7997, allocations: 44 kB / 1.192 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00429/0.804, allocations: 1.962 MB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004273/0.8045, allocations: 343 kB / 1.194 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.8048, allocations: 233.2 kB / 1.194 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.8074, allocations: 1.91 MB / 1.196 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8075, allocations: 0 / 1.196 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8075, allocations: 0 / 1.196 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.8075, allocations: 0 / 1.196 GB, free: 13.27 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002975/0.8105, allocations: 1.445 MB / 1.197 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.8105, allocations: 12.03 kB / 1.197 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.8123, allocations: 298.3 kB / 1.198 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.8136, allocations: 0.746 MB / 1.198 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.8137, allocations: 57.25 kB / 1.199 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.8138, allocations: 63.98 kB / 1.199 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.8153, allocations: 0.9882 MB / 1.2 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.8153, allocations: 0 / 1.2 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.8154, allocations: 27.98 kB / 1.2 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/0.8155, allocations: 77.94 kB / 1.2 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.8171, allocations: 1.019 MB / 1.201 GB, free: 8.434 MB / 0.9512 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.005674/0.8228, allocations: 3.582 MB / 1.204 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.8238, allocations: 0.6532 MB / 1.205 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-05/0.8239, allocations: 16.55 kB / 1.205 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.8239, allocations: 43.59 kB / 1.205 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=62): time 3.467e-06/0.8239, allocations: 0 / 1.205 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=62): time 0.001834/0.8258, allocations: 1.029 MB / 1.206 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.8258, allocations: 111.4 kB / 1.206 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/0.8267, allocations: 0.7941 MB / 1.207 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.8268, allocations: 37.7 kB / 1.207 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.8271, allocations: 428.1 kB / 1.207 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.8273, allocations: 216.8 kB / 1.207 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.8273, allocations: 16 kB / 1.207 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8274, allocations: 337.9 kB / 1.208 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.8279, allocations: 325.8 kB / 1.208 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.8285, allocations: 456.7 kB / 1.208 GB, free: 88 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.8291, allocations: 399 kB / 1.209 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8292, allocations: 4 kB / 1.209 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001406/0.8306, allocations: 0.9061 MB / 1.21 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.8309, allocations: 0.8758 MB / 1.211 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.8309, allocations: 4 kB / 1.211 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.8309, allocations: 4 kB / 1.211 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.8316, allocations: 147.8 kB / 1.211 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.8316, allocations: 11.94 kB / 1.211 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.8324, allocations: 115.1 kB / 1.211 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.8325, allocations: 28 kB / 1.211 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.8325, allocations: 4 kB / 1.211 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.8337, allocations: 0.7727 MB / 1.212 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8337, allocations: 3.984 kB / 1.212 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.8338, allocations: 8 kB / 1.212 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.8344, allocations: 152 kB / 1.212 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8344, allocations: 4 kB / 1.212 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.8352, allocations: 107.2 kB / 1.212 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.8353, allocations: 31.98 kB / 1.212 GB, free: 12.45 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003975/0.8357, allocations: 364.9 kB / 1.212 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.8358, allocations: 94.88 kB / 1.212 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.8371, allocations: 0.8035 MB / 1.213 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8371, allocations: 11.94 kB / 1.213 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8371, allocations: 4 kB / 1.213 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009634/0.8381, allocations: 0.7477 MB / 1.214 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.8411, allocations: 2.086 MB / 1.216 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8411, allocations: 8.062 kB / 1.216 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.8418, allocations: 132.2 kB / 1.216 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.8418, allocations: 11.98 kB / 1.216 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.8418, allocations: 20 kB / 1.216 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.8419, allocations: 4 kB / 1.216 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.8419, allocations: 7.938 kB / 1.216 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.8437, allocations: 1.531 MB / 1.218 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.8441, allocations: 255.8 kB / 1.218 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.8443, allocations: 16 kB / 1.218 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.8449, allocations: 55.8 kB / 1.218 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.845, allocations: 52.27 kB / 1.218 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.845, allocations: 24 kB / 1.218 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006387/0.8457, allocations: 0.5537 MB / 1.219 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8457, allocations: 0 / 1.219 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001608/0.8473, allocations: 0.7489 MB / 1.219 GB, free: 4.621 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.8485, allocations: 0.5442 MB / 1.22 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.8503, allocations: 1.158 MB / 1.221 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.8503, allocations: 4 kB / 1.221 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.8508, allocations: 368.1 kB / 1.221 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.853, allocations: 0.5014 MB / 1.222 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.8559, allocations: 2.282 MB / 1.224 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.8565, allocations: 1.093 MB / 1.225 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001253/0.8578, allocations: 419.3 kB / 1.225 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.858, allocations: 75.44 kB / 1.226 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.858, allocations: 0 / 1.226 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.03224/0.8903, allocations: 21.38 MB / 1.246 GB, free: 8.945 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches