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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.7 MB / 0.7451 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.92 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3757, allocations: 159.9 MB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1978/0.5736, allocations: 181.9 MB / 1.246 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7427/1.316, allocations: 5.345 MB / 1.251 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/1.318, allocations: 36.47 kB / 1.251 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/1.32, allocations: 442.3 kB / 1.252 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00522/1.325, allocations: 1.671 MB / 1.253 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/1.327, allocations: 0.7929 MB / 1.254 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003579/1.331, allocations: 2.197 MB / 1.256 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/1.332, allocations: 0.6884 MB / 1.257 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/1.334, allocations: 0.7384 MB / 1.257 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/1.336, allocations: 0.68 MB / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/1.336, allocations: 75 kB / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/1.339, allocations: 1.398 MB / 1.26 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004522/1.34, allocations: 318.2 kB / 1.26 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/1.34, allocations: 473.8 kB / 1.26 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003134/1.344, allocations: 1.641 MB / 1.262 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.344, allocations: 0 / 1.262 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.315e-06/1.344, allocations: 3.562 kB / 1.262 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.119e-05/1.344, allocations: 0 / 1.262 GB, free: 5.562 MB / 0.9981 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.002172/1.346, allocations: 1.181 MB / 1.263 GB, free: 20.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.346, allocations: 7.875 kB / 1.263 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/1.348, allocations: 272.9 kB / 1.263 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/1.349, allocations: 0.672 MB / 1.264 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/1.349, allocations: 44.34 kB / 1.264 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/1.349, allocations: 61.06 kB / 1.264 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.35, allocations: 0.5858 MB / 1.265 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.35, allocations: 0 / 1.265 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/1.35, allocations: 25.28 kB / 1.265 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/1.35, allocations: 24.8 kB / 1.265 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008858/1.351, allocations: 0.5002 MB / 1.265 GB, free: 20.5 MB / 1.014 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.003463/1.354, allocations: 2.395 MB / 1.268 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/1.355, allocations: 438.8 kB / 1.268 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/1.356, allocations: 224.2 kB / 1.268 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/1.356, allocations: 99.02 kB / 1.268 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/1.356, allocations: 40.67 kB / 1.268 GB, free: 19.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.484e-06/1.356, allocations: 0.7188 kB / 1.268 GB, free: 19.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.002941/1.359, allocations: 1.441 MB / 1.27 GB, free: 18.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.359, allocations: 58 kB / 1.27 GB, free: 18.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008302/1.36, allocations: 0.5374 MB / 1.27 GB, free: 18.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.36, allocations: 38.88 kB / 1.27 GB, free: 18.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/1.36, allocations: 326.8 kB / 1.271 GB, free: 18.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/1.36, allocations: 171 kB / 1.271 GB, free: 18.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/1.36, allocations: 86.09 kB / 1.271 GB, free: 18.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.361, allocations: 377.2 kB / 1.271 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/1.361, allocations: 173.7 kB / 1.271 GB, free: 18.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/1.361, allocations: 257.1 kB / 1.272 GB, free: 17.97 MB / 1.014 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.003686/1.365, allocations: 1.452 MB / 1.273 GB, free: 17.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.365, allocations: 0.9062 kB / 1.273 GB, free: 17.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001117/1.366, allocations: 0.5273 MB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.366, allocations: 6.5 kB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.366, allocations: 4.969 kB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.366, allocations: 5.812 kB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/1.367, allocations: 99.92 kB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.367, allocations: 7.422 kB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/1.367, allocations: 16.41 kB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/1.368, allocations: 15.89 kB / 1.274 GB, free: 17.64 MB / 1.014 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.0004653/1.368, allocations: 243.6 kB / 1.274 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.368, allocations: 71.69 kB / 1.274 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/1.368, allocations: 83.41 kB / 1.274 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.368, allocations: 5.688 kB / 1.274 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.368, allocations: 0.5625 kB / 1.274 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009255/1.369, allocations: 0.5104 MB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/1.372, allocations: 1.588 MB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.372, allocations: 6.594 kB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/1.373, allocations: 120.7 kB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/1.373, allocations: 8.922 kB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/1.373, allocations: 17.55 kB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/1.373, allocations: 10.08 kB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.373, allocations: 7.594 kB / 1.276 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/1.374, allocations: 0.8949 MB / 1.277 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/1.374, allocations: 203.7 kB / 1.277 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-05/1.375, allocations: 17.91 kB / 1.277 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/1.375, allocations: 24.84 kB / 1.277 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/1.375, allocations: 50.8 kB / 1.278 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/1.375, allocations: 22.7 kB / 1.278 GB, free: 16.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005534/1.376, allocations: 398.6 kB / 1.278 GB, free: 16.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.376, allocations: 0 / 1.278 GB, free: 16.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007747/1.377, allocations: 201 kB / 1.278 GB, free: 16.27 MB / 1.014 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.0004975/1.377, allocations: 193.3 kB / 1.278 GB, free: 16.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009663/1.378, allocations: 476.2 kB / 1.279 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.378, allocations: 2.219 kB / 1.279 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/1.378, allocations: 237.3 kB / 1.279 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.381, allocations: 0.4886 MB / 1.279 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/1.383, allocations: 1.569 MB / 1.281 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/1.384, allocations: 0.9766 MB / 1.282 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007597/1.385, allocations: 164.6 kB / 1.282 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/1.385, allocations: 59.89 kB / 1.282 GB, free: 14.67 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.385, allocations: 0 / 1.282 GB, free: 14.67 MB / 1.014 GB Notification: Performance of Templates: time 0.02907/1.414, allocations: 14.81 MB / 1.297 GB, free: 13.75 MB / 1.014 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