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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 148 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.001885/0.001885, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.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.418/2.418, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 60.14 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8022, allocations: 140.4 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2204/1.023, allocations: 187.9 MB / 1.133 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01758/1.04, allocations: 10.77 MB / 1.144 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.042, allocations: 43.75 kB / 1.144 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/1.044, allocations: 0.4892 MB / 1.144 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006481/1.05, allocations: 2.579 MB / 1.147 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006529/1.057, allocations: 2.444 MB / 1.149 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00447/1.061, allocations: 2.771 MB / 1.152 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/1.062, allocations: 0.7876 MB / 1.152 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/1.065, allocations: 0.9809 MB / 1.153 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/1.068, allocations: 1.065 MB / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002693/1.068, allocations: 100 kB / 1.155 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/1.074, allocations: 2.994 MB / 1.157 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007094/1.075, allocations: 430.8 kB / 1.158 GB, free: 11.96 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009476/1.076, allocations: 0.5871 MB / 1.158 GB, free: 11.37 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006235/1.082, allocations: 2.93 MB / 1.161 GB, free: 8.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.082, allocations: 8 kB / 1.161 GB, free: 8.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/1.082, allocations: 3.938 kB / 1.161 GB, free: 8.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.794e-05/1.082, allocations: 4 kB / 1.161 GB, free: 8.418 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.003704/1.086, allocations: 1.662 MB / 1.163 GB, free: 6.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.086, allocations: 8.031 kB / 1.163 GB, free: 6.695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/1.088, allocations: 306.3 kB / 1.163 GB, free: 6.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/1.089, allocations: 0.7728 MB / 1.164 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/1.089, allocations: 53.3 kB / 1.164 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.09, allocations: 63.98 kB / 1.164 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.091, allocations: 0.9883 MB / 1.165 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.091, allocations: 0 / 1.165 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/1.091, allocations: 31.98 kB / 1.165 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.727e-05/1.091, allocations: 73.94 kB / 1.165 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.093, allocations: 1.015 MB / 1.166 GB, free: 3.34 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.005955/1.099, allocations: 3.594 MB / 1.17 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.1, allocations: 0.6575 MB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/1.101, allocations: 378.4 kB / 1.171 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/1.101, allocations: 194.8 kB / 1.171 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.101, allocations: 39.12 kB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.505e-06/1.101, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002054/1.103, allocations: 1.025 MB / 1.172 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/1.103, allocations: 119.3 kB / 1.172 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.104, allocations: 0.798 MB / 1.173 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/1.105, allocations: 41.7 kB / 1.173 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/1.105, allocations: 432 kB / 1.173 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/1.105, allocations: 216.8 kB / 1.173 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/1.105, allocations: 142.6 kB / 1.174 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.105, allocations: 334 kB / 1.174 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/1.106, allocations: 340.7 kB / 1.174 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/1.107, allocations: 464.7 kB / 1.175 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.108, allocations: 0.7665 MB / 1.175 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.108, allocations: 0 / 1.175 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001569/1.11, allocations: 0.9411 MB / 1.176 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.11, allocations: 8 kB / 1.176 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.11, allocations: 4 kB / 1.176 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.11, allocations: 4 kB / 1.176 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/1.11, allocations: 143.8 kB / 1.176 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.11, allocations: 8 kB / 1.177 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/1.111, allocations: 87.39 kB / 1.177 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/1.111, allocations: 28 kB / 1.177 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009082/1.112, allocations: 0.537 MB / 1.177 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006671/1.113, allocations: 454.4 kB / 1.178 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001074/1.114, allocations: 0.733 MB / 1.178 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/1.114, allocations: 0 / 1.178 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001504/1.115, allocations: 0.8942 MB / 1.179 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.115, allocations: 4 kB / 1.179 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.115, allocations: 4.406 kB / 1.179 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.115, allocations: 15.98 kB / 1.179 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/1.116, allocations: 143.8 kB / 1.179 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.116, allocations: 8 kB / 1.179 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/1.117, allocations: 63.5 kB / 1.179 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/1.117, allocations: 24 kB / 1.179 GB, free: 5.246 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.0002293/1.117, allocations: 224 kB / 1.18 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.117, allocations: 98.81 kB / 1.18 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.119, allocations: 0.8029 MB / 1.181 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.119, allocations: 7.984 kB / 1.181 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.119, allocations: 4 kB / 1.181 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/1.12, allocations: 0.7399 MB / 1.181 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/1.123, allocations: 2.098 MB / 1.183 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.123, allocations: 7.938 kB / 1.183 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/1.124, allocations: 131.8 kB / 1.183 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.124, allocations: 11.98 kB / 1.183 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/1.124, allocations: 16 kB / 1.183 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.124, allocations: 4 kB / 1.183 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.124, allocations: 7.984 kB / 1.183 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/1.126, allocations: 1.364 MB / 1.185 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/1.126, allocations: 255.8 kB / 1.185 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.126, allocations: 19.98 kB / 1.185 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/1.127, allocations: 21.61 kB / 1.185 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/1.127, allocations: 44.33 kB / 1.185 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/1.127, allocations: 28 kB / 1.185 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007567/1.128, allocations: 0.5576 MB / 1.186 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.128, allocations: 0 / 1.186 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002052/1.13, allocations: 0.745 MB / 1.186 GB, free: 13.86 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.001291/1.131, allocations: 0.5573 MB / 1.187 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002439/1.134, allocations: 1.323 MB / 1.188 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.134, allocations: 0 / 1.188 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/1.134, allocations: 366.1 kB / 1.189 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/1.137, allocations: 0.5381 MB / 1.189 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/1.14, allocations: 1.92 MB / 1.191 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/1.141, allocations: 1.077 MB / 1.192 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001298/1.142, allocations: 418 kB / 1.192 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/1.142, allocations: 75.42 kB / 1.193 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/1.142, allocations: 0 / 1.193 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of Templates: time 0.03537/1.178, allocations: 22.83 MB / 1.215 GB, free: 0.918 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches