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.007979/0.007979, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001987/0.001987, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.585/2.585, allocations: 472.6 MB / 0.7453 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.84 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.848, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1929/1.041, allocations: 181.9 MB / 1.403 GB, free: 6.969 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008684/1.05, allocations: 5.364 MB / 1.408 GB, free: 1.598 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/1.051, allocations: 39.75 kB / 1.408 GB, free: 1.559 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/1.052, allocations: 429.4 kB / 1.409 GB, free: 1.137 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003969/1.056, allocations: 1.684 MB / 1.411 GB, free: 15.45 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/1.058, allocations: 0.8045 MB / 1.411 GB, free: 14.65 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002877/1.061, allocations: 2.199 MB / 1.413 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/1.062, allocations: 0.6851 MB / 1.414 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/1.063, allocations: 0.7471 MB / 1.415 GB, free: 11 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/1.065, allocations: 0.6741 MB / 1.416 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.065, allocations: 76 kB / 1.416 GB, free: 10.26 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/1.068, allocations: 1.399 MB / 1.417 GB, free: 8.855 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/1.068, allocations: 315.2 kB / 1.417 GB, free: 8.547 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005833/1.069, allocations: 477.8 kB / 1.418 GB, free: 8.078 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002544/1.071, allocations: 1.67 MB / 1.419 GB, free: 6.402 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.071, allocations: 3.938 kB / 1.419 GB, free: 6.398 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.332e-06/1.071, allocations: 4 kB / 1.419 GB, free: 6.395 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.071, allocations: 0 / 1.419 GB, free: 6.395 MB / 1.139 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.001802/1.073, allocations: 1.21 MB / 1.421 GB, free: 5.129 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.073, allocations: 8.031 kB / 1.421 GB, free: 5.121 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/1.075, allocations: 271.2 kB / 1.421 GB, free: 4.855 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.076, allocations: 0.7182 MB / 1.422 GB, free: 4.098 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/1.076, allocations: 45.31 kB / 1.422 GB, free: 4.055 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.076, allocations: 60 kB / 1.422 GB, free: 3.996 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.077, allocations: 0.5843 MB / 1.422 GB, free: 3.402 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.077, allocations: 0 / 1.422 GB, free: 3.402 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/1.077, allocations: 24 kB / 1.422 GB, free: 3.379 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/1.077, allocations: 25.3 kB / 1.422 GB, free: 3.355 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/1.078, allocations: 0.5009 MB / 1.423 GB, free: 2.855 MB / 1.139 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.003153/1.081, allocations: 2.389 MB / 1.425 GB, free: 284 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/1.082, allocations: 430.9 kB / 1.425 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/1.083, allocations: 226.7 kB / 1.426 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/1.083, allocations: 97.09 kB / 1.426 GB, free: 15.51 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/1.083, allocations: 42.47 kB / 1.426 GB, free: 15.46 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/1.083, allocations: 0 / 1.426 GB, free: 15.46 MB / 1.154 GB Notification: Performance of matching and sorting (n=48): time 0.002839/1.086, allocations: 1.444 MB / 1.427 GB, free: 13.96 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/1.086, allocations: 59.78 kB / 1.427 GB, free: 13.89 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/1.086, allocations: 0.5421 MB / 1.428 GB, free: 13.34 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/1.086, allocations: 41.7 kB / 1.428 GB, free: 13.29 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/1.087, allocations: 329.2 kB / 1.428 GB, free: 12.97 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.087, allocations: 174.5 kB / 1.428 GB, free: 12.8 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/1.087, allocations: 90.2 kB / 1.428 GB, free: 12.7 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.087, allocations: 378.7 kB / 1.429 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/1.087, allocations: 173 kB / 1.429 GB, free: 12.16 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/1.088, allocations: 264.8 kB / 1.429 GB, free: 11.87 MB / 1.154 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.003706/1.092, allocations: 1.442 MB / 1.431 GB, free: 10.38 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.092, allocations: 0 / 1.431 GB, free: 10.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001127/1.093, allocations: 0.5346 MB / 1.431 GB, free: 9.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.093, allocations: 8.156 kB / 1.431 GB, free: 9.832 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.093, allocations: 4 kB / 1.431 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.093, allocations: 0 / 1.431 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/1.093, allocations: 99.78 kB / 1.431 GB, free: 9.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.093, allocations: 7.984 kB / 1.431 GB, free: 9.723 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/1.094, allocations: 16 kB / 1.431 GB, free: 9.707 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/1.094, allocations: 19.94 kB / 1.431 GB, free: 9.688 MB / 1.154 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.0005497/1.095, allocations: 249.7 kB / 1.432 GB, free: 9.434 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.095, allocations: 75.58 kB / 1.432 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/1.095, allocations: 74.45 kB / 1.432 GB, free: 9.285 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.095, allocations: 4 kB / 1.432 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.095, allocations: 7.938 kB / 1.432 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008768/1.096, allocations: 0.5067 MB / 1.432 GB, free: 8.734 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/1.099, allocations: 1.596 MB / 1.434 GB, free: 7.02 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.099, allocations: 4 kB / 1.434 GB, free: 7.016 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/1.099, allocations: 111.8 kB / 1.434 GB, free: 6.906 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.099, allocations: 8.625 kB / 1.434 GB, free: 6.898 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/1.099, allocations: 20.03 kB / 1.434 GB, free: 6.879 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/1.1, allocations: 11.94 kB / 1.434 GB, free: 6.867 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.1, allocations: 19.86 kB / 1.434 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/1.101, allocations: 0.8984 MB / 1.435 GB, free: 5.867 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/1.101, allocations: 204.6 kB / 1.435 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/1.101, allocations: 19.98 kB / 1.435 GB, free: 5.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/1.102, allocations: 20 kB / 1.435 GB, free: 5.609 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/1.102, allocations: 47.77 kB / 1.435 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/1.102, allocations: 27.98 kB / 1.435 GB, free: 5.535 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004897/1.103, allocations: 390.8 kB / 1.435 GB, free: 5.156 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.464e-06/1.103, allocations: 8 kB / 1.435 GB, free: 5.148 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007549/1.103, allocations: 199.9 kB / 1.436 GB, free: 4.953 MB / 1.154 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.0004384/1.104, allocations: 195.7 kB / 1.436 GB, free: 4.766 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008533/1.105, allocations: 433.2 kB / 1.436 GB, free: 4.344 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.105, allocations: 4 kB / 1.436 GB, free: 4.34 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003831/1.105, allocations: 241.4 kB / 1.436 GB, free: 4.105 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/1.107, allocations: 497.1 kB / 1.437 GB, free: 3.633 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/1.11, allocations: 1.561 MB / 1.438 GB, free: 1.98 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/1.111, allocations: 0.9772 MB / 1.439 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000697/1.112, allocations: 161.8 kB / 1.44 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.112, allocations: 63.44 kB / 1.44 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of SimCode: time 6.41e-07/1.112, allocations: 0 / 1.44 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of Templates: time 0.02692/1.139, allocations: 14.92 MB / 1.454 GB, free: 2.023 MB / 1.17 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