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.005896/0.005896, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00143/0.00143, allocations: 196.2 kB / 16.79 MB, free: 5.809 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.426/2.426, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.7055, allocations: 140.3 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2088/0.9143, allocations: 186.2 MB / 1.131 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.9303, allocations: 11.2 MB / 1.142 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.9321, allocations: 43.69 kB / 1.142 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.9336, allocations: 429.7 kB / 1.143 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006336/0.9399, allocations: 2.424 MB / 1.145 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.9454, allocations: 2.063 MB / 1.147 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004364/0.9498, allocations: 3.995 MB / 1.151 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.951, allocations: 0.6736 MB / 1.152 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.9528, allocations: 0.8402 MB / 1.153 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.955, allocations: 1.07 MB / 1.154 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.9552, allocations: 55.94 kB / 1.154 GB, free: 468 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0057/0.9609, allocations: 3.289 MB / 1.157 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006523/0.9616, allocations: 398.8 kB / 1.157 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.9624, allocations: 0.5363 MB / 1.158 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.9657, allocations: 2.125 MB / 1.16 GB, free: 10.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9657, allocations: 0 / 1.16 GB, free: 10.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9657, allocations: 0 / 1.16 GB, free: 10.1 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.9657, allocations: 0 / 1.16 GB, free: 10.1 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.003738/0.9695, allocations: 1.674 MB / 1.161 GB, free: 8.375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.9695, allocations: 8.031 kB / 1.161 GB, free: 8.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.9715, allocations: 294.4 kB / 1.162 GB, free: 8.078 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.9728, allocations: 0.7728 MB / 1.163 GB, free: 7.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.9729, allocations: 49.3 kB / 1.163 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.973, allocations: 75.83 kB / 1.163 GB, free: 7.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.9746, allocations: 0.9883 MB / 1.164 GB, free: 6.133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.9747, allocations: 7.938 kB / 1.164 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.9748, allocations: 31.97 kB / 1.164 GB, free: 6.094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.841e-05/0.9749, allocations: 73.94 kB / 1.164 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.9765, allocations: 1.011 MB / 1.165 GB, free: 5.008 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.006139/0.9827, allocations: 3.566 MB / 1.168 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.9838, allocations: 0.6767 MB / 1.169 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.9843, allocations: 375.8 kB / 1.169 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.9846, allocations: 194.7 kB / 1.169 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.9847, allocations: 47.06 kB / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.455e-06/0.9847, allocations: 0 / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002013/0.9867, allocations: 1.017 MB / 1.17 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.9868, allocations: 115.4 kB / 1.171 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.9878, allocations: 0.8057 MB / 1.171 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.9879, allocations: 37.7 kB / 1.171 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.9883, allocations: 416.1 kB / 1.172 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.9885, allocations: 224.8 kB / 1.172 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.9887, allocations: 146.6 kB / 1.172 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.9889, allocations: 338 kB / 1.172 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.9895, allocations: 336.7 kB / 1.173 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.9902, allocations: 468.7 kB / 1.173 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.9913, allocations: 0.7665 MB / 1.174 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9913, allocations: 0 / 1.174 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001604/0.993, allocations: 0.9296 MB / 1.175 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.993, allocations: 12 kB / 1.175 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.993, allocations: 0 / 1.175 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.9931, allocations: 15.92 kB / 1.175 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.9938, allocations: 147.8 kB / 1.175 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.9938, allocations: 4 kB / 1.175 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/0.9948, allocations: 103.2 kB / 1.175 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/0.9949, allocations: 35.98 kB / 1.175 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008878/0.9958, allocations: 0.5331 MB / 1.176 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006194/0.9964, allocations: 458.4 kB / 1.176 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/0.9975, allocations: 0.7254 MB / 1.177 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.044e-06/0.9975, allocations: 4 kB / 1.177 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001509/0.999, allocations: 0.8941 MB / 1.178 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.999, allocations: 4 kB / 1.178 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9991, allocations: 8 kB / 1.178 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.9991, allocations: 8 kB / 1.178 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.9997, allocations: 139.8 kB / 1.178 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.9998, allocations: 11.98 kB / 1.178 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/1.001, allocations: 91.67 kB / 1.178 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/1.001, allocations: 31.94 kB / 1.178 GB, free: 6.879 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.0002592/1.001, allocations: 235.9 kB / 1.178 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/1.001, allocations: 86.97 kB / 1.178 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/1.003, allocations: 0.8064 MB / 1.179 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/1.003, allocations: 8 kB / 1.179 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.003, allocations: 0 / 1.179 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/1.004, allocations: 0.7438 MB / 1.18 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/1.007, allocations: 2.093 MB / 1.182 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.007, allocations: 3.938 kB / 1.182 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/1.008, allocations: 127.9 kB / 1.182 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/1.008, allocations: 8.094 kB / 1.182 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/1.008, allocations: 23.92 kB / 1.182 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/1.008, allocations: 7.984 kB / 1.182 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.008, allocations: 4.438 kB / 1.182 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.01, allocations: 1.356 MB / 1.183 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/1.01, allocations: 259.7 kB / 1.184 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/1.011, allocations: 20 kB / 1.184 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/1.011, allocations: 47.95 kB / 1.184 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/1.011, allocations: 48.27 kB / 1.184 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/1.012, allocations: 20 kB / 1.184 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007602/1.012, allocations: 0.5576 MB / 1.184 GB, free: 228 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.012, allocations: 0 / 1.184 GB, free: 228 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00201/1.014, allocations: 0.7489 MB / 1.185 GB, free: 15.47 MB / 0.9512 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.001507/1.016, allocations: 0.5459 MB / 1.186 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00209/1.018, allocations: 1.175 MB / 1.187 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.018, allocations: 4.062 kB / 1.187 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005497/1.019, allocations: 374.1 kB / 1.187 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.021, allocations: 0.5191 MB / 1.188 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/1.025, allocations: 2.284 MB / 1.19 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/1.025, allocations: 1.078 MB / 1.191 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/1.026, allocations: 79.42 kB / 1.191 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of SimCode: time 8.32e-07/1.026, allocations: 3.938 kB / 1.191 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.02943/1.055, allocations: 18.47 MB / 1.209 GB, free: 6.98 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