Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_9_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_9_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.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001749/0.001749, allocations: 194.8 kB / 16.14 MB, free: 6.645 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.492 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.397/2.397, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7443, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2326/0.977, allocations: 179.6 MB / 1.124 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00994/0.987, allocations: 5.426 MB / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.9888, allocations: 31.75 kB / 1.13 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.9906, allocations: 378 kB / 1.13 GB, free: 8 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.9959, allocations: 1.572 MB / 1.132 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.9983, allocations: 0.7285 MB / 1.132 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004336/1.003, allocations: 2.984 MB / 1.135 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/1.004, allocations: 0.5828 MB / 1.136 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/1.006, allocations: 0.6339 MB / 1.136 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/1.008, allocations: 0.6968 MB / 1.137 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/1.009, allocations: 36 kB / 1.137 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/1.012, allocations: 1.617 MB / 1.139 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005465/1.013, allocations: 287 kB / 1.139 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009189/1.014, allocations: 421.9 kB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/1.017, allocations: 1.71 MB / 1.141 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/1.017, allocations: 4 kB / 1.141 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.493e-06/1.017, allocations: 0 / 1.141 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.091e-05/1.017, allocations: 0 / 1.141 GB, free: 12.71 MB / 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.002704/1.02, allocations: 1.176 MB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.02, allocations: 11.97 kB / 1.142 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/1.022, allocations: 274.7 kB / 1.142 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/1.024, allocations: 0.6709 MB / 1.143 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/1.024, allocations: 41.31 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.024, allocations: 63.98 kB / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/1.025, allocations: 0.5843 MB / 1.144 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.025, allocations: 0 / 1.144 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/1.025, allocations: 31.98 kB / 1.144 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/1.025, allocations: 25.3 kB / 1.144 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009595/1.026, allocations: 0.497 MB / 1.144 GB, free: 9.242 MB / 0.9044 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.003621/1.03, allocations: 2.388 MB / 1.147 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/1.031, allocations: 418.9 kB / 1.147 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/1.031, allocations: 223.1 kB / 1.147 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/1.031, allocations: 97.09 kB / 1.147 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/1.031, allocations: 50.45 kB / 1.147 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/1.031, allocations: 0 / 1.147 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.003126/1.034, allocations: 1.438 MB / 1.149 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/1.034, allocations: 67.78 kB / 1.149 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/1.035, allocations: 0.5343 MB / 1.149 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/1.035, allocations: 37.7 kB / 1.149 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/1.035, allocations: 328.6 kB / 1.15 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/1.035, allocations: 169.6 kB / 1.15 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/1.036, allocations: 90.16 kB / 1.15 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.036, allocations: 374.7 kB / 1.15 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/1.036, allocations: 177 kB / 1.151 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/1.036, allocations: 264.8 kB / 1.151 GB, free: 2.273 MB / 0.9044 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.003383/1.04, allocations: 1.437 MB / 1.152 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.04, allocations: 3.938 kB / 1.152 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008668/1.041, allocations: 0.5265 MB / 1.153 GB, free: 252 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.041, allocations: 7.938 kB / 1.153 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.041, allocations: 4 kB / 1.153 GB, free: 240 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.041, allocations: 4 kB / 1.153 GB, free: 236 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/1.041, allocations: 95.89 kB / 1.153 GB, free: 140 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.041, allocations: 4 kB / 1.153 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/1.042, allocations: 43.97 kB / 1.153 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/1.042, allocations: 19.94 kB / 1.153 GB, free: 72 kB / 0.9044 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.0004045/1.042, allocations: 247.1 kB / 1.153 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.043, allocations: 71.16 kB / 1.153 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/1.043, allocations: 86.45 kB / 1.153 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.043, allocations: 4 kB / 1.153 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.043, allocations: 0 / 1.153 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007497/1.044, allocations: 0.5067 MB / 1.154 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.046, allocations: 1.585 MB / 1.155 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.046, allocations: 4 kB / 1.155 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/1.047, allocations: 119.8 kB / 1.155 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/1.047, allocations: 12.03 kB / 1.155 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/1.047, allocations: 16.62 kB / 1.155 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/1.047, allocations: 19.92 kB / 1.155 GB, free: 13.26 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.047, allocations: 7.938 kB / 1.155 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/1.048, allocations: 0.8911 MB / 1.156 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/1.049, allocations: 200.2 kB / 1.157 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.049, allocations: 15.98 kB / 1.157 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/1.05, allocations: 43.83 kB / 1.157 GB, free: 12.01 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.05, allocations: 55.77 kB / 1.157 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/1.05, allocations: 20 kB / 1.157 GB, free: 11.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006714/1.05, allocations: 394.8 kB / 1.157 GB, free: 11.55 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.051, allocations: 0 / 1.157 GB, free: 11.55 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009889/1.052, allocations: 200 kB / 1.157 GB, free: 11.36 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.0007531/1.052, allocations: 200.3 kB / 1.157 GB, free: 11.16 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009504/1.053, allocations: 433.2 kB / 1.158 GB, free: 10.74 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.053, allocations: 4.312 kB / 1.158 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/1.054, allocations: 232.3 kB / 1.158 GB, free: 10.51 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.056, allocations: 457.3 kB / 1.158 GB, free: 10.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/1.059, allocations: 1.829 MB / 1.16 GB, free: 8.152 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/1.06, allocations: 0.9814 MB / 1.161 GB, free: 7.145 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007454/1.061, allocations: 165.8 kB / 1.161 GB, free: 6.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.061, allocations: 55.44 kB / 1.161 GB, free: 6.926 MB / 0.92 GB Notification: Performance of SimCode: time 4.01e-07/1.061, allocations: 4 kB / 1.161 GB, free: 6.922 MB / 0.92 GB Notification: Performance of Templates: time 0.02495/1.086, allocations: 14.15 MB / 1.175 GB, free: 8.973 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches