Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001754/0.001754, allocations: 110.2 kB / 15.99 MB, free: 6.352 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.001721/0.001721, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 66.91 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3309, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6937/1.025, allocations: 179.5 MB / 1.239 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009195/1.034, allocations: 5.318 MB / 1.245 GB, free: 320 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/1.035, allocations: 35.81 kB / 1.245 GB, free: 284 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/1.037, allocations: 390 kB / 1.245 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004293/1.041, allocations: 1.572 MB / 1.247 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/1.043, allocations: 0.7305 MB / 1.247 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003265/1.046, allocations: 2.187 MB / 1.249 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.047, allocations: 0.6739 MB / 1.25 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/1.049, allocations: 0.7549 MB / 1.251 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/1.051, allocations: 0.7319 MB / 1.251 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/1.051, allocations: 76 kB / 1.252 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/1.054, allocations: 1.477 MB / 1.253 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003964/1.054, allocations: 315.2 kB / 1.253 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006316/1.055, allocations: 473.8 kB / 1.254 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/1.057, allocations: 1.247 MB / 1.255 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.057, allocations: 0 / 1.255 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/1.057, allocations: 0 / 1.255 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.057, allocations: 0 / 1.255 GB, free: 5.668 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.002007/1.059, allocations: 1.177 MB / 1.256 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.059, allocations: 12.62 kB / 1.256 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/1.061, allocations: 274.6 kB / 1.256 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.062, allocations: 0.6749 MB / 1.257 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/1.062, allocations: 49.25 kB / 1.257 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.062, allocations: 59.91 kB / 1.257 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.063, allocations: 0.5843 MB / 1.258 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.064, allocations: 0 / 1.258 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/1.064, allocations: 24 kB / 1.258 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/1.064, allocations: 21.31 kB / 1.258 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/1.065, allocations: 0.5125 MB / 1.258 GB, free: 2.188 MB / 0.9669 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.003657/1.068, allocations: 2.377 MB / 1.261 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/1.069, allocations: 426.8 kB / 1.261 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/1.07, allocations: 229.3 kB / 1.261 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/1.07, allocations: 101.1 kB / 1.261 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.07, allocations: 42.52 kB / 1.261 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.315e-06/1.07, allocations: 0 / 1.261 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.003166/1.073, allocations: 1.434 MB / 1.263 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/1.073, allocations: 55.84 kB / 1.263 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/1.074, allocations: 0.5383 MB / 1.263 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/1.074, allocations: 37.7 kB / 1.263 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/1.074, allocations: 328.6 kB / 1.264 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/1.074, allocations: 173.4 kB / 1.264 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/1.074, allocations: 90.25 kB / 1.264 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000249/1.075, allocations: 374.7 kB / 1.264 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/1.075, allocations: 177 kB / 1.264 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/1.076, allocations: 263.8 kB / 1.265 GB, free: 11.24 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.003539/1.079, allocations: 1.447 MB / 1.266 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.079, allocations: 0 / 1.266 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009705/1.08, allocations: 0.5226 MB / 1.267 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.08, allocations: 9.859 kB / 1.267 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.08, allocations: 0 / 1.267 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.08, allocations: 4 kB / 1.267 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/1.081, allocations: 95.84 kB / 1.267 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.081, allocations: 8.156 kB / 1.267 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/1.081, allocations: 43.81 kB / 1.267 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/1.081, allocations: 16 kB / 1.267 GB, free: 9.039 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 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.0003848/1.082, allocations: 253.6 kB / 1.267 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/1.082, allocations: 71.16 kB / 1.267 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/1.082, allocations: 78.45 kB / 1.267 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.082, allocations: 8 kB / 1.267 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/1.082, allocations: 0 / 1.267 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007816/1.083, allocations: 0.5067 MB / 1.268 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/1.085, allocations: 1.586 MB / 1.269 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/1.085, allocations: 4.625 kB / 1.269 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/1.086, allocations: 119.8 kB / 1.269 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.086, allocations: 8 kB / 1.269 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/1.086, allocations: 19.98 kB / 1.269 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/1.086, allocations: 8.875 kB / 1.269 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.086, allocations: 11.94 kB / 1.269 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.087, allocations: 0.8952 MB / 1.27 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/1.088, allocations: 200.3 kB / 1.27 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/1.088, allocations: 15.98 kB / 1.271 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/1.088, allocations: 43.81 kB / 1.271 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.088, allocations: 47.83 kB / 1.271 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/1.088, allocations: 37.19 kB / 1.271 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004956/1.089, allocations: 398.8 kB / 1.271 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 0 / 1.271 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006783/1.09, allocations: 200 kB / 1.271 GB, free: 4.305 MB / 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.0004838/1.09, allocations: 185.8 kB / 1.271 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009343/1.091, allocations: 477.2 kB / 1.272 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.091, allocations: 4 kB / 1.272 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/1.091, allocations: 237.3 kB / 1.272 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.094, allocations: 495.8 kB / 1.273 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/1.096, allocations: 1.866 MB / 1.274 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/1.097, allocations: 0.9771 MB / 1.275 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/1.097, allocations: 63.44 kB / 1.275 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of SimCode: time 5.82e-07/1.097, allocations: 4 kB / 1.275 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.02853/1.126, allocations: 11.61 MB / 1.287 GB, free: 4.406 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches