Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.001127/0.001127, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 185 kB / 16.92 MB, free: 6.895 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005453/0.0005455, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.683, allocations: 142.4 MB / 0.9557 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2068/0.8898, allocations: 183.8 MB / 1.135 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.9067, allocations: 11.03 MB / 1.146 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.9085, allocations: 39.69 kB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.9101, allocations: 429.7 kB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.9173, allocations: 2.424 MB / 1.149 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006266/0.9235, allocations: 2.071 MB / 1.151 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005023/0.9286, allocations: 3.987 MB / 1.155 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.9301, allocations: 0.6458 MB / 1.155 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.9321, allocations: 0.8324 MB / 1.156 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.9348, allocations: 1.064 MB / 1.157 GB, free: 396 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.9352, allocations: 44 kB / 1.157 GB, free: 352 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007349/0.9425, allocations: 3.293 MB / 1.16 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009235/0.9435, allocations: 382.8 kB / 1.161 GB, free: 12.67 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.9447, allocations: 0.5459 MB / 1.161 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.9489, allocations: 2.097 MB / 1.163 GB, free: 10.01 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.949, allocations: 0 / 1.163 GB, free: 10.01 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.374e-06/0.949, allocations: 3.938 kB / 1.163 GB, free: 10.01 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.255e-05/0.949, allocations: 0 / 1.163 GB, free: 10.01 MB / 0.92 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.004084/0.9531, allocations: 1.472 MB / 1.165 GB, free: 8.484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.9532, allocations: 12.03 kB / 1.165 GB, free: 8.473 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.9554, allocations: 294.3 kB / 1.165 GB, free: 8.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.957, allocations: 0.7805 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.9571, allocations: 49.3 kB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.9573, allocations: 71.98 kB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.9593, allocations: 0.996 MB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.9594, allocations: 0 / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.9594, allocations: 23.98 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.9596, allocations: 73.95 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.9614, allocations: 1.015 MB / 1.168 GB, free: 5.113 MB / 0.92 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.00672/0.9682, allocations: 3.582 MB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.9694, allocations: 0.6707 MB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.97, allocations: 378.4 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/0.9704, allocations: 199.2 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.9705, allocations: 43.06 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.525e-06/0.9705, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002247/0.9727, allocations: 1.029 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.9728, allocations: 107.4 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.974, allocations: 0.8019 MB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.9741, allocations: 37.7 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.9745, allocations: 424.1 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.9747, allocations: 216.8 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.9748, allocations: 65.69 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.975, allocations: 341.9 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006815/0.9757, allocations: 329.8 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.9764, allocations: 468.6 kB / 1.176 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.9776, allocations: 0.7704 MB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.9776, allocations: 0 / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001807/0.9795, allocations: 0.9294 MB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.9796, allocations: 155.6 kB / 1.178 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9796, allocations: 8 kB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.9796, allocations: 4 kB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.9804, allocations: 155.8 kB / 1.178 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.9804, allocations: 4 kB / 1.178 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.9813, allocations: 107.2 kB / 1.179 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.9814, allocations: 31.92 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.9814, allocations: 4 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/0.9827, allocations: 0.7806 MB / 1.179 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9828, allocations: 4.062 kB / 1.179 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.9828, allocations: 8 kB / 1.179 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.9835, allocations: 143.8 kB / 1.179 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.9835, allocations: 7.938 kB / 1.179 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008457/0.9843, allocations: 99.23 kB / 1.18 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.9844, allocations: 31.98 kB / 1.18 GB, free: 8.781 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005651/0.985, allocations: 372.8 kB / 1.18 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.9852, allocations: 94.81 kB / 1.18 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.9867, allocations: 0.8047 MB / 1.181 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.9868, allocations: 4 kB / 1.181 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9868, allocations: 0 / 1.181 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/0.9879, allocations: 0.7477 MB / 1.182 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.9915, allocations: 2.086 MB / 1.184 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.9915, allocations: 4.438 kB / 1.184 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/0.9923, allocations: 135.8 kB / 1.184 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.9923, allocations: 7.938 kB / 1.184 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.9923, allocations: 16 kB / 1.184 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.9924, allocations: 11.98 kB / 1.184 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9924, allocations: 11.88 kB / 1.184 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.9944, allocations: 1.36 MB / 1.185 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.9949, allocations: 267.7 kB / 1.185 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.9951, allocations: 19.94 kB / 1.185 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.9958, allocations: 49.58 kB / 1.185 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.996, allocations: 48.31 kB / 1.185 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.996, allocations: 24 kB / 1.185 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007818/0.9968, allocations: 0.5653 MB / 1.186 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9968, allocations: 0 / 1.186 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001822/0.9987, allocations: 0.745 MB / 1.187 GB, free: 1.207 MB / 0.9356 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 (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.001474/1, allocations: 0.5332 MB / 1.187 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002122/1.002, allocations: 1.178 MB / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.002, allocations: 0 / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/1.003, allocations: 372.1 kB / 1.189 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.006, allocations: 0.5094 MB / 1.189 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/1.01, allocations: 2.396 MB / 1.192 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/1.011, allocations: 1.078 MB / 1.193 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/1.011, allocations: 83.38 kB / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of SimCode: time 7.71e-07/1.011, allocations: 3.938 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of Templates: time 0.03014/1.042, allocations: 18.33 MB / 1.211 GB, free: 8.758 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches