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.007509/0.007509, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001474/0.001474, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.5 kB / 0.9508 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 1.077/1.395, allocations: 181.8 MB / 1.266 GB, free: 3.547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01019/1.405, allocations: 5.363 MB / 1.271 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/1.407, allocations: 35.31 kB / 1.271 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/1.409, allocations: 453.1 kB / 1.271 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006205/1.415, allocations: 1.73 MB / 1.273 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/1.418, allocations: 0.8163 MB / 1.274 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00466/1.423, allocations: 2.204 MB / 1.276 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/1.424, allocations: 0.6905 MB / 1.277 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/1.426, allocations: 0.7782 MB / 1.277 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/1.428, allocations: 0.6864 MB / 1.278 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/1.429, allocations: 76.59 kB / 1.278 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/1.433, allocations: 1.407 MB / 1.279 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000509/1.433, allocations: 323.1 kB / 1.28 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007722/1.434, allocations: 474.1 kB / 1.28 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003791/1.438, allocations: 1.664 MB / 1.282 GB, free: 3.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.438, allocations: 1.672 kB / 1.282 GB, free: 3.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.085e-06/1.438, allocations: 0 / 1.282 GB, free: 3.227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.354e-05/1.438, allocations: 2.766 kB / 1.282 GB, free: 3.227 MB / 1.014 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.002109/1.44, allocations: 1.212 MB / 1.283 GB, free: 2.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.44, allocations: 9.75 kB / 1.283 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/1.442, allocations: 276.1 kB / 1.283 GB, free: 2.473 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/1.444, allocations: 0.7162 MB / 1.284 GB, free: 2.176 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/1.444, allocations: 44.25 kB / 1.284 GB, free: 2.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/1.444, allocations: 61.67 kB / 1.284 GB, free: 2.176 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/1.445, allocations: 0.58 MB / 1.285 GB, free: 2.129 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/1.445, allocations: 5.125 kB / 1.285 GB, free: 2.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/1.445, allocations: 24.12 kB / 1.285 GB, free: 2.125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/1.445, allocations: 21.66 kB / 1.285 GB, free: 2.125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009481/1.446, allocations: 0.5015 MB / 1.285 GB, free: 2.117 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.003383/1.449, allocations: 2.382 MB / 1.287 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008131/1.45, allocations: 428.2 kB / 1.288 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/1.451, allocations: 218 kB / 1.288 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/1.451, allocations: 103.1 kB / 1.288 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.451, allocations: 41.7 kB / 1.288 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/1.451, allocations: 0 / 1.288 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003167/1.454, allocations: 1.462 MB / 1.29 GB, free: 16.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.454, allocations: 57.06 kB / 1.29 GB, free: 16.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/1.455, allocations: 0.5367 MB / 1.29 GB, free: 16.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/1.455, allocations: 36.2 kB / 1.29 GB, free: 16.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/1.455, allocations: 333.1 kB / 1.291 GB, free: 16.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/1.455, allocations: 176.5 kB / 1.291 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.456, allocations: 94.88 kB / 1.291 GB, free: 15.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.456, allocations: 374.9 kB / 1.291 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/1.456, allocations: 174.5 kB / 1.291 GB, free: 15.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/1.456, allocations: 257.2 kB / 1.292 GB, free: 15.55 MB / 1.029 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.003376/1.46, allocations: 1.443 MB / 1.293 GB, free: 15.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.46, allocations: 2.219 kB / 1.293 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008948/1.461, allocations: 0.5299 MB / 1.294 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.461, allocations: 6.906 kB / 1.294 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.461, allocations: 1.062 kB / 1.294 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.461, allocations: 5.031 kB / 1.294 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/1.461, allocations: 98.81 kB / 1.294 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.461, allocations: 3.75 kB / 1.294 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/1.462, allocations: 23.41 kB / 1.294 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/1.462, allocations: 16.27 kB / 1.294 GB, free: 15.21 MB / 1.029 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.0004148/1.462, allocations: 254.4 kB / 1.294 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.463, allocations: 75.7 kB / 1.294 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/1.463, allocations: 78.95 kB / 1.294 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.463, allocations: 6.031 kB / 1.294 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.463, allocations: 0 / 1.294 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007553/1.463, allocations: 0.5132 MB / 1.295 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/1.466, allocations: 1.589 MB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.466, allocations: 5.344 kB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/1.467, allocations: 114.8 kB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.467, allocations: 6.406 kB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/1.467, allocations: 18.69 kB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/1.467, allocations: 10.08 kB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.467, allocations: 6.625 kB / 1.296 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/1.468, allocations: 0.9024 MB / 1.297 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/1.469, allocations: 202.9 kB / 1.297 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/1.469, allocations: 17.45 kB / 1.297 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/1.469, allocations: 20.34 kB / 1.297 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.469, allocations: 45.62 kB / 1.297 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/1.469, allocations: 27.06 kB / 1.297 GB, free: 13.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005361/1.47, allocations: 395.2 kB / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.47, allocations: 0 / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008494/1.471, allocations: 199.6 kB / 1.298 GB, free: 13.84 MB / 1.029 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.0004836/1.471, allocations: 198.6 kB / 1.298 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008761/1.472, allocations: 449.8 kB / 1.299 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.472, allocations: 1.125 kB / 1.299 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/1.472, allocations: 231.4 kB / 1.299 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.475, allocations: 0.4946 MB / 1.299 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/1.477, allocations: 1.567 MB / 1.301 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/1.478, allocations: 0.9797 MB / 1.302 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007065/1.479, allocations: 162.3 kB / 1.302 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/1.479, allocations: 59.58 kB / 1.302 GB, free: 12.2 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/1.479, allocations: 4.344 kB / 1.302 GB, free: 12.2 MB / 1.029 GB Notification: Performance of Templates: time 0.03013/1.509, allocations: 14.92 MB / 1.317 GB, free: 11.25 MB / 1.029 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