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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001791/0.001792, allocations: 110.5 kB / 15.99 MB, free: 6.336 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.002126/0.002126, allocations: 199.1 kB / 16.91 MB, free: 6.176 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.665 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 62.5 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3067, allocations: 140.4 MB / 0.9498 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.694/1.001, allocations: 186 MB / 1.131 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01575/1.017, allocations: 10.84 MB / 1.142 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/1.019, allocations: 47.5 kB / 1.142 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/1.021, allocations: 447.1 kB / 1.142 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007429/1.028, allocations: 2.421 MB / 1.145 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007179/1.035, allocations: 2.253 MB / 1.147 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004473/1.04, allocations: 2.765 MB / 1.15 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/1.041, allocations: 0.7678 MB / 1.15 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/1.044, allocations: 1.014 MB / 1.151 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/1.046, allocations: 1.119 MB / 1.153 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/1.047, allocations: 96.53 kB / 1.153 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007771/1.054, allocations: 3.076 MB / 1.156 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008368/1.055, allocations: 439.3 kB / 1.156 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/1.057, allocations: 0.5844 MB / 1.157 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004851/1.061, allocations: 2.121 MB / 1.159 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.061, allocations: 5.156 kB / 1.159 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.061, allocations: 0 / 1.159 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.906e-05/1.062, allocations: 0 / 1.159 GB, free: 1.34 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004488/1.066, allocations: 1.679 MB / 1.16 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.066, allocations: 9.625 kB / 1.16 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/1.068, allocations: 298.4 kB / 1.161 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.07, allocations: 0.7795 MB / 1.161 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/1.07, allocations: 50.78 kB / 1.161 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/1.07, allocations: 65.16 kB / 1.162 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/1.072, allocations: 0.9949 MB / 1.162 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.072, allocations: 1.531 kB / 1.162 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.572e-05/1.072, allocations: 26.77 kB / 1.163 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/1.072, allocations: 77.81 kB / 1.163 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/1.074, allocations: 1.01 MB / 1.164 GB, free: 14.92 MB / 0.8731 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.00665/1.08, allocations: 3.578 MB / 1.167 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/1.082, allocations: 0.6662 MB / 1.168 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/1.082, allocations: 380 kB / 1.168 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/1.082, allocations: 196.1 kB / 1.168 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/1.083, allocations: 43.59 kB / 1.168 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 5.63e-06/1.083, allocations: 3.984 kB / 1.168 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.002454/1.085, allocations: 1.028 MB / 1.169 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/1.085, allocations: 109.7 kB / 1.169 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/1.086, allocations: 0.8041 MB / 1.17 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/1.086, allocations: 38.45 kB / 1.17 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/1.087, allocations: 427 kB / 1.171 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/1.087, allocations: 216.4 kB / 1.171 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/1.087, allocations: 142.5 kB / 1.171 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.088, allocations: 335.4 kB / 1.171 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/1.088, allocations: 339.4 kB / 1.172 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/1.089, allocations: 473.7 kB / 1.172 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.09, allocations: 0.7668 MB / 1.173 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.09, allocations: 0 / 1.173 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0016/1.092, allocations: 0.9323 MB / 1.174 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.092, allocations: 8 kB / 1.174 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.092, allocations: 0 / 1.174 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.092, allocations: 7.094 kB / 1.174 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/1.093, allocations: 151.3 kB / 1.174 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.093, allocations: 8.219 kB / 1.174 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.094, allocations: 112.1 kB / 1.174 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/1.094, allocations: 26.47 kB / 1.174 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000911/1.095, allocations: 0.5375 MB / 1.175 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006605/1.095, allocations: 456.7 kB / 1.175 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001119/1.096, allocations: 0.7308 MB / 1.176 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/1.096, allocations: 6.312 kB / 1.176 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001588/1.098, allocations: 0.8823 MB / 1.177 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.098, allocations: 10.78 kB / 1.177 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.098, allocations: 3.25 kB / 1.177 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/1.098, allocations: 7 kB / 1.177 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/1.099, allocations: 150.9 kB / 1.177 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.099, allocations: 10.16 kB / 1.177 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.1, allocations: 88.8 kB / 1.177 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/1.1, allocations: 38.53 kB / 1.177 GB, free: 7.734 MB / 0.8731 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.0002956/1.1, allocations: 211.4 kB / 1.177 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/1.1, allocations: 98.06 kB / 1.177 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/1.102, allocations: 0.8059 MB / 1.178 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/1.102, allocations: 5.25 kB / 1.178 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.102, allocations: 6.109 kB / 1.178 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/1.103, allocations: 0.7345 MB / 1.179 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/1.106, allocations: 2.102 MB / 1.181 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.106, allocations: 7.547 kB / 1.181 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/1.107, allocations: 134.9 kB / 1.181 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/1.107, allocations: 5.25 kB / 1.181 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/1.107, allocations: 16.88 kB / 1.181 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/1.107, allocations: 9.125 kB / 1.181 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.107, allocations: 10.75 kB / 1.181 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.109, allocations: 1.356 MB / 1.182 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/1.109, allocations: 259 kB / 1.183 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.11, allocations: 12.84 kB / 1.183 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/1.11, allocations: 48.06 kB / 1.183 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/1.11, allocations: 53.75 kB / 1.183 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/1.11, allocations: 19.97 kB / 1.183 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007328/1.111, allocations: 0.5583 MB / 1.183 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/1.111, allocations: 0 / 1.183 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002391/1.114, allocations: 0.7507 MB / 1.184 GB, free: 3.672 MB / 0.8731 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.001539/1.115, allocations: 0.5399 MB / 1.184 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002443/1.118, allocations: 1.317 MB / 1.186 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.118, allocations: 10.44 kB / 1.186 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/1.118, allocations: 368.6 kB / 1.186 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.121, allocations: 0.531 MB / 1.187 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/1.124, allocations: 2.296 MB / 1.189 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.125, allocations: 1.077 MB / 1.19 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/1.125, allocations: 77.47 kB / 1.19 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of SimCode: time 7.41e-07/1.125, allocations: 0 / 1.19 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of Templates: time 0.029/1.154, allocations: 18.47 MB / 1.208 GB, free: 4.727 MB / 0.8887 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