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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001086/0.001086, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001174/0.001174, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.78 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.8388/1.157, allocations: 181.9 MB / 1.196 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009761/1.167, allocations: 5.362 MB / 1.202 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/1.169, allocations: 35.06 kB / 1.202 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/1.171, allocations: 439.6 kB / 1.202 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004888/1.176, allocations: 1.672 MB / 1.204 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/1.178, allocations: 0.8041 MB / 1.205 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003441/1.181, allocations: 2.196 MB / 1.207 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/1.182, allocations: 0.6925 MB / 1.207 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/1.184, allocations: 0.7419 MB / 1.208 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/1.186, allocations: 0.6777 MB / 1.209 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/1.186, allocations: 79.5 kB / 1.209 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/1.189, allocations: 1.396 MB / 1.21 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/1.189, allocations: 323.8 kB / 1.21 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005846/1.19, allocations: 470.3 kB / 1.211 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002976/1.193, allocations: 1.66 MB / 1.213 GB, free: 308 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.193, allocations: 3.938 kB / 1.213 GB, free: 304 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.464e-06/1.193, allocations: 0 / 1.213 GB, free: 304 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.302e-05/1.193, allocations: 0 / 1.213 GB, free: 304 kB / 0.9044 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.002052/1.195, allocations: 1.179 MB / 1.214 GB, free: 15.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.195, allocations: 7.906 kB / 1.214 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/1.197, allocations: 277.6 kB / 1.214 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.198, allocations: 0.7042 MB / 1.215 GB, free: 14.67 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/1.198, allocations: 50.62 kB / 1.215 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.198, allocations: 55.75 kB / 1.215 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/1.199, allocations: 0.5806 MB / 1.215 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/1.199, allocations: 3 kB / 1.215 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/1.199, allocations: 18.81 kB / 1.215 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/1.2, allocations: 25.19 kB / 1.215 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/1.2, allocations: 0.5008 MB / 1.216 GB, free: 14.03 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.00328/1.204, allocations: 2.373 MB / 1.218 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/1.204, allocations: 443.4 kB / 1.219 GB, free: 11.78 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/1.205, allocations: 217.7 kB / 1.219 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/1.205, allocations: 106 kB / 1.219 GB, free: 11.56 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.205, allocations: 45.36 kB / 1.219 GB, free: 11.51 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.175e-06/1.205, allocations: 0 / 1.219 GB, free: 11.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.002922/1.208, allocations: 1.443 MB / 1.22 GB, free: 10.12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.208, allocations: 59.84 kB / 1.22 GB, free: 10.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/1.209, allocations: 0.5383 MB / 1.221 GB, free: 9.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/1.209, allocations: 37.7 kB / 1.221 GB, free: 9.469 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/1.209, allocations: 324.6 kB / 1.221 GB, free: 9.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/1.209, allocations: 169.6 kB / 1.221 GB, free: 8.977 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.209, allocations: 86.17 kB / 1.222 GB, free: 8.887 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.209, allocations: 382.7 kB / 1.222 GB, free: 8.504 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/1.21, allocations: 173 kB / 1.222 GB, free: 8.336 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/1.21, allocations: 252.8 kB / 1.222 GB, free: 8.066 MB / 0.92 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.003273/1.213, allocations: 1.448 MB / 1.224 GB, free: 6.566 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.213, allocations: 4 kB / 1.224 GB, free: 6.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008416/1.214, allocations: 0.5226 MB / 1.224 GB, free: 6.031 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.214, allocations: 8 kB / 1.224 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.214, allocations: 0 / 1.224 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.214, allocations: 4 kB / 1.224 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.215, allocations: 103.8 kB / 1.224 GB, free: 5.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.215, allocations: 4.875 kB / 1.224 GB, free: 5.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/1.215, allocations: 21.84 kB / 1.224 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/1.215, allocations: 19.98 kB / 1.224 GB, free: 5.875 MB / 0.92 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.0003539/1.216, allocations: 248.2 kB / 1.225 GB, free: 5.625 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/1.216, allocations: 67.16 kB / 1.225 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/1.216, allocations: 78.45 kB / 1.225 GB, free: 5.477 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.216, allocations: 5.125 kB / 1.225 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.216, allocations: 0 / 1.225 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006961/1.217, allocations: 0.5183 MB / 1.225 GB, free: 4.926 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/1.219, allocations: 1.589 MB / 1.227 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.016e-06/1.219, allocations: 8 kB / 1.227 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/1.22, allocations: 115.8 kB / 1.227 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.22, allocations: 8 kB / 1.227 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/1.22, allocations: 16 kB / 1.227 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/1.22, allocations: 12 kB / 1.227 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.22, allocations: 7.938 kB / 1.227 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.221, allocations: 0.9023 MB / 1.228 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/1.221, allocations: 196.3 kB / 1.228 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/1.221, allocations: 16 kB / 1.228 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/1.222, allocations: 18.83 kB / 1.228 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/1.222, allocations: 47.84 kB / 1.228 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/1.222, allocations: 27.92 kB / 1.228 GB, free: 1.758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004479/1.223, allocations: 398.8 kB / 1.229 GB, free: 1.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/1.223, allocations: 0 / 1.229 GB, free: 1.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006899/1.223, allocations: 196 kB / 1.229 GB, free: 1.18 MB / 0.92 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.0004641/1.224, allocations: 194 kB / 1.229 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007946/1.225, allocations: 441.2 kB / 1.229 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.225, allocations: 8.312 kB / 1.229 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/1.225, allocations: 227.6 kB / 1.23 GB, free: 340 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.227, allocations: 496.6 kB / 1.23 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/1.229, allocations: 1.561 MB / 1.232 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/1.23, allocations: 0.9733 MB / 1.232 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005584/1.23, allocations: 165.8 kB / 1.233 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.231, allocations: 55.44 kB / 1.233 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of SimCode: time 8.51e-07/1.231, allocations: 7.938 kB / 1.233 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.02462/1.255, allocations: 14.79 MB / 1.247 GB, free: 14.4 MB / 0.9512 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches