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.000814/0.0008141, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009617/0.0009617, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.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.613/2.613, allocations: 437.7 MB / 0.7117 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 12 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.5999, allocations: 153.8 MB / 1.022 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1677/0.7677, allocations: 165.4 MB / 1.184 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007465/0.7752, allocations: 5.054 MB / 1.189 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.7761, allocations: 27.81 kB / 1.189 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008925/0.777, allocations: 302.1 kB / 1.189 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.7801, allocations: 1.221 MB / 1.19 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.7817, allocations: 0.5684 MB / 1.191 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.7843, allocations: 2.53 MB / 1.193 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.785, allocations: 0.5037 MB / 1.194 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009513/0.786, allocations: 0.6224 MB / 1.194 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/0.7869, allocations: 0.6265 MB / 1.195 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.787, allocations: 28 kB / 1.195 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.7887, allocations: 0.6819 MB / 1.196 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.789, allocations: 267.1 kB / 1.196 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.7892, allocations: 193.3 kB / 1.196 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.7904, allocations: 1.122 MB / 1.197 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7904, allocations: 0 / 1.197 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7904, allocations: 0 / 1.197 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.7904, allocations: 4 kB / 1.197 GB, free: 12.6 MB / 0.9512 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.00149/0.7919, allocations: 1.017 MB / 1.198 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.792, allocations: 15.92 kB / 1.198 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.7937, allocations: 278.7 kB / 1.199 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009604/0.7947, allocations: 0.648 MB / 1.199 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.7947, allocations: 49.25 kB / 1.199 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.7948, allocations: 60 kB / 1.199 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.7958, allocations: 0.5726 MB / 1.2 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.7959, allocations: 7.906 kB / 1.2 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.7959, allocations: 24 kB / 1.2 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.796, allocations: 25.3 kB / 1.2 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.7968, allocations: 0.5009 MB / 1.2 GB, free: 9.312 MB / 0.9512 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.002917/0.7997, allocations: 2.38 MB / 1.203 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.8005, allocations: 426.8 kB / 1.203 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.8009, allocations: 222.8 kB / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.801, allocations: 97.09 kB / 1.203 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.8011, allocations: 42.56 kB / 1.203 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.8011, allocations: 0 / 1.203 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.0027/0.8038, allocations: 1.443 MB / 1.205 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.8038, allocations: 59.84 kB / 1.205 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.8044, allocations: 0.5421 MB / 1.205 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.8045, allocations: 33.7 kB / 1.206 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.8047, allocations: 328.6 kB / 1.206 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.8048, allocations: 165.5 kB / 1.206 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.8049, allocations: 12 kB / 1.206 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.805, allocations: 378.7 kB / 1.206 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.8053, allocations: 169 kB / 1.207 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.8057, allocations: 256.8 kB / 1.207 GB, free: 2.457 MB / 0.9512 GB 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) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.8082, allocations: 1.052 MB / 1.208 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8082, allocations: 0 / 1.208 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008018/0.809, allocations: 0.5226 MB / 1.208 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8091, allocations: 4.156 kB / 1.208 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8091, allocations: 4 kB / 1.208 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.8091, allocations: 7.984 kB / 1.208 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.8095, allocations: 91.91 kB / 1.208 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.8095, allocations: 7.938 kB / 1.208 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.8101, allocations: 48.98 kB / 1.208 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.8102, allocations: 16 kB / 1.208 GB, free: 0.668 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003089/0.8105, allocations: 249.7 kB / 1.209 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.8106, allocations: 67.25 kB / 1.209 GB, free: 356 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.8107, allocations: 78.45 kB / 1.209 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.8108, allocations: 8 kB / 1.209 GB, free: 272 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.8108, allocations: 0 / 1.209 GB, free: 272 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006972/0.8115, allocations: 0.5145 MB / 1.209 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.8137, allocations: 1.584 MB / 1.211 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.8137, allocations: 4 kB / 1.211 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.8142, allocations: 111.9 kB / 1.211 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.8143, allocations: 4 kB / 1.211 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.8143, allocations: 27.92 kB / 1.211 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-06/0.8143, allocations: 8 kB / 1.211 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.8143, allocations: 7.938 kB / 1.211 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.8154, allocations: 0.8914 MB / 1.212 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.8157, allocations: 200.2 kB / 1.212 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.8158, allocations: 23.92 kB / 1.212 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/0.8163, allocations: 36.92 kB / 1.212 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.8164, allocations: 43.84 kB / 1.212 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.8165, allocations: 20 kB / 1.212 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004256/0.8169, allocations: 394.8 kB / 1.213 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8169, allocations: 4 kB / 1.213 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006414/0.8175, allocations: 200 kB / 1.213 GB, free: 11.97 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004345/0.818, allocations: 192.7 kB / 1.213 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.8187, allocations: 437.5 kB / 1.213 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8188, allocations: 0 / 1.213 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.8191, allocations: 232.9 kB / 1.214 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.8211, allocations: 473.6 kB / 1.214 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.8235, allocations: 1.893 MB / 1.216 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.824, allocations: 0.9775 MB / 1.217 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006169/0.8246, allocations: 161.8 kB / 1.217 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.8248, allocations: 63.44 kB / 1.217 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.8248, allocations: 0 / 1.217 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of Templates: time 0.02224/0.8471, allocations: 13.63 MB / 1.23 GB, free: 10.02 MB / 0.9825 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