Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002352/0.002352, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001852, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7158/0.7177, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1929/0.9107, allocations: 179.5 MB / 1.192 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008048/0.9188, allocations: 5.323 MB / 1.197 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.9199, allocations: 35.81 kB / 1.197 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.9212, allocations: 394 kB / 1.198 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.9255, allocations: 1.576 MB / 1.199 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.9276, allocations: 0.7258 MB / 1.2 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.9308, allocations: 2.191 MB / 1.202 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.932, allocations: 0.6812 MB / 1.203 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.9336, allocations: 0.7393 MB / 1.203 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.9359, allocations: 0.7284 MB / 1.204 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.9361, allocations: 76 kB / 1.204 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.9393, allocations: 1.469 MB / 1.206 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.9398, allocations: 323.1 kB / 1.206 GB, free: 292 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008035/0.9406, allocations: 477.9 kB / 1.206 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.9441, allocations: 1.737 MB / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9441, allocations: 0 / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.388e-06/0.9441, allocations: 0 / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.384e-05/0.9442, allocations: 3.938 kB / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002243/0.9464, allocations: 1.18 MB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9465, allocations: 12.03 kB / 1.209 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.9486, allocations: 266.8 kB / 1.21 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.9498, allocations: 0.6826 MB / 1.21 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.9498, allocations: 45.31 kB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.9499, allocations: 52 kB / 1.21 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.951, allocations: 0.5843 MB / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.951, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.9511, allocations: 20 kB / 1.211 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.9511, allocations: 21.31 kB / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.952, allocations: 0.5009 MB / 1.211 GB, free: 10.61 MB / 0.9669 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.003283/0.9553, allocations: 2.396 MB / 1.214 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.9561, allocations: 432.2 kB / 1.214 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.9565, allocations: 220.7 kB / 1.214 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.9567, allocations: 101.1 kB / 1.214 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.9567, allocations: 42.55 kB / 1.215 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.9567, allocations: 0 / 1.215 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.003016/0.9598, allocations: 1.443 MB / 1.216 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.9598, allocations: 55.84 kB / 1.216 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.9604, allocations: 0.5383 MB / 1.216 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.9605, allocations: 37.7 kB / 1.217 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.9607, allocations: 328.6 kB / 1.217 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.9609, allocations: 165.6 kB / 1.217 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.961, allocations: 94.16 kB / 1.217 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9612, allocations: 378.7 kB / 1.217 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.9615, allocations: 173 kB / 1.218 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.9619, allocations: 252.8 kB / 1.218 GB, free: 3.652 MB / 0.9669 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.9653, allocations: 1.452 MB / 1.219 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.9653, allocations: 0 / 1.219 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000858/0.9662, allocations: 0.5265 MB / 1.22 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.9662, allocations: 7.938 kB / 1.22 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9662, allocations: 0 / 1.22 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.9662, allocations: 7.984 kB / 1.22 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.9666, allocations: 92.06 kB / 1.22 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.9667, allocations: 11.94 kB / 1.22 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006829/0.9674, allocations: 53.16 kB / 1.22 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.9674, allocations: 23.92 kB / 1.22 GB, free: 1.426 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.000321/0.9677, allocations: 246.9 kB / 1.22 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.9679, allocations: 71.16 kB / 1.22 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.968, allocations: 74.45 kB / 1.22 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.9681, allocations: 8 kB / 1.22 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9681, allocations: 0 / 1.22 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007103/0.9688, allocations: 0.5144 MB / 1.221 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.9712, allocations: 1.585 MB / 1.222 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.9712, allocations: 4 kB / 1.222 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.9717, allocations: 115.9 kB / 1.223 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.9718, allocations: 8 kB / 1.223 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.9718, allocations: 19.98 kB / 1.223 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.9718, allocations: 8 kB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.9718, allocations: 15.88 kB / 1.223 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.973, allocations: 0.895 MB / 1.223 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.9733, allocations: 192.3 kB / 1.224 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/0.9734, allocations: 19.98 kB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.974, allocations: 41.86 kB / 1.224 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.9741, allocations: 47.77 kB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.9742, allocations: 24 kB / 1.224 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004462/0.9746, allocations: 398.8 kB / 1.224 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9746, allocations: 0 / 1.224 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006745/0.9753, allocations: 200 kB / 1.224 GB, free: 12.72 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (49): * Single equations (assignments): 49 * 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.0004398/0.9758, allocations: 193.2 kB / 1.225 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008781/0.9767, allocations: 485.6 kB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.9767, allocations: 4 kB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.977, allocations: 233.5 kB / 1.225 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.9792, allocations: 492.9 kB / 1.226 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.9818, allocations: 1.817 MB / 1.227 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.9824, allocations: 0.9811 MB / 1.228 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006806/0.9831, allocations: 169.8 kB / 1.229 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.9832, allocations: 55.44 kB / 1.229 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.9832, allocations: 4 kB / 1.229 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of Templates: time 0.02443/1.008, allocations: 14.73 MB / 1.243 GB, free: 9.711 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches