Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008476/0.0008475, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005847/0.005847, allocations: 169.8 kB / 16.26 MB, free: 6.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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 443.3 MB / 0.7175 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004567, allocations: 7.688 kB / 0.8796 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3085, allocations: 155.2 MB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1966/0.5052, allocations: 177.3 MB / 1.204 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009689/0.5149, allocations: 5.36 MB / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.5165, allocations: 27.81 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.5181, allocations: 382.1 kB / 1.21 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.5236, allocations: 1.568 MB / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.5261, allocations: 0.7276 MB / 1.212 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004087/0.5302, allocations: 2.99 MB / 1.215 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.5315, allocations: 0.5698 MB / 1.216 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.533, allocations: 0.6143 MB / 1.216 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.5353, allocations: 0.6645 MB / 1.217 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.5354, allocations: 28 kB / 1.217 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.5387, allocations: 1.609 MB / 1.218 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005163/0.5392, allocations: 271.1 kB / 1.219 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009961/0.5402, allocations: 431.6 kB / 1.219 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003413/0.5437, allocations: 1.678 MB / 1.221 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5437, allocations: 0 / 1.221 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5437, allocations: 0 / 1.221 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.5437, allocations: 0 / 1.221 GB, free: 1.504 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.001683/0.5454, allocations: 1.024 MB / 1.222 GB, free: 440 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5455, allocations: 11.98 kB / 1.222 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.5473, allocations: 274.7 kB / 1.222 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.5485, allocations: 0.6748 MB / 1.223 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.5486, allocations: 45.31 kB / 1.223 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5487, allocations: 60 kB / 1.223 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5498, allocations: 0.5804 MB / 1.223 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5498, allocations: 0 / 1.223 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.5499, allocations: 24 kB / 1.223 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.5499, allocations: 21.31 kB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.5508, allocations: 0.5009 MB / 1.224 GB, free: 14.19 MB / 0.9825 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.003397/0.5542, allocations: 2.4 MB / 1.226 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.5551, allocations: 435 kB / 1.227 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.5554, allocations: 220.8 kB / 1.227 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.5557, allocations: 101.1 kB / 1.227 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.5557, allocations: 38.56 kB / 1.227 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.5557, allocations: 0 / 1.227 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.002907/0.5586, allocations: 1.443 MB / 1.228 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.5587, allocations: 55.84 kB / 1.228 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.5593, allocations: 0.5421 MB / 1.229 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.5593, allocations: 37.7 kB / 1.229 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.5596, allocations: 320.8 kB / 1.229 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5597, allocations: 169.5 kB / 1.229 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.5598, allocations: 45.7 kB / 1.229 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.56, allocations: 378.7 kB / 1.23 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.5603, allocations: 173 kB / 1.23 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.5606, allocations: 256.8 kB / 1.23 GB, free: 7.277 MB / 0.9825 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.003412/0.5641, allocations: 1.451 MB / 1.232 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5641, allocations: 0 / 1.232 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008501/0.5649, allocations: 0.5265 MB / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5649, allocations: 8 kB / 1.232 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.565, allocations: 160 / 1.232 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.565, allocations: 8 kB / 1.232 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.5654, allocations: 95.84 kB / 1.232 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5654, allocations: 4 kB / 1.232 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.5661, allocations: 52.41 kB / 1.232 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.5662, allocations: 15.94 kB / 1.232 GB, free: 5.062 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0003213/0.5665, allocations: 249.7 kB / 1.233 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5666, allocations: 67.16 kB / 1.233 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.5668, allocations: 86.38 kB / 1.233 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5668, allocations: 7.938 kB / 1.233 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5668, allocations: 0 / 1.233 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000711/0.5675, allocations: 0.5145 MB / 1.233 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.5699, allocations: 1.593 MB / 1.235 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5699, allocations: 8 kB / 1.235 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.5704, allocations: 115.8 kB / 1.235 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.5704, allocations: 8 kB / 1.235 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.5705, allocations: 12 kB / 1.235 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.5705, allocations: 8 kB / 1.235 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/0.5705, allocations: 11.88 kB / 1.235 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5717, allocations: 0.8951 MB / 1.236 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.5719, allocations: 200.3 kB / 1.236 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.572, allocations: 16 kB / 1.236 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.5726, allocations: 40.14 kB / 1.236 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.5727, allocations: 47.77 kB / 1.236 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.5728, allocations: 27.98 kB / 1.236 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004301/0.5732, allocations: 394.8 kB / 1.237 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5732, allocations: 3.938 kB / 1.237 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006562/0.5739, allocations: 204 kB / 1.237 GB, free: 344 kB / 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.0004079/0.5743, allocations: 184.3 kB / 1.237 GB, free: 156 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000776/0.5751, allocations: 441.3 kB / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5751, allocations: 0 / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.5755, allocations: 233.1 kB / 1.238 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.5781, allocations: 476.2 kB / 1.238 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.5807, allocations: 1.913 MB / 1.24 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.5813, allocations: 0.9812 MB / 1.241 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006597/0.582, allocations: 157.9 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.5822, allocations: 55.44 kB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.5822, allocations: 0 / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.5567/1.139, allocations: 14.08 MB / 1.255 GB, free: 215.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches