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.001649/0.001649, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001821/0.001821, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.441/2.441, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7599, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2152/0.9751, allocations: 179.5 MB / 1.124 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009664/0.9848, allocations: 5.341 MB / 1.13 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.9864, allocations: 31.75 kB / 1.13 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.9878, allocations: 386.1 kB / 1.13 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004853/0.9927, allocations: 1.575 MB / 1.132 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.9949, allocations: 0.7378 MB / 1.132 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.998, allocations: 2.195 MB / 1.134 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.999, allocations: 0.6695 MB / 1.135 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/1, allocations: 0.7432 MB / 1.136 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/1.002, allocations: 0.7288 MB / 1.136 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/1.003, allocations: 76 kB / 1.137 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/1.006, allocations: 1.465 MB / 1.138 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/1.006, allocations: 323.2 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005887/1.007, allocations: 469.9 kB / 1.139 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/1.009, allocations: 1.737 MB / 1.14 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.01, allocations: 0 / 1.14 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.043e-06/1.01, allocations: 4 kB / 1.14 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.246e-05/1.01, allocations: 0 / 1.14 GB, free: 13.5 MB / 0.9044 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.001894/1.011, allocations: 1.184 MB / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.012, allocations: 16.02 kB / 1.142 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/1.013, allocations: 266.8 kB / 1.142 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009957/1.014, allocations: 0.6748 MB / 1.143 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/1.014, allocations: 49.31 kB / 1.143 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/1.014, allocations: 56 kB / 1.143 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.016, allocations: 0.5843 MB / 1.143 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.016, allocations: 3.938 kB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/1.016, allocations: 20 kB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/1.016, allocations: 21.31 kB / 1.143 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/1.017, allocations: 0.5048 MB / 1.144 GB, free: 10.02 MB / 0.9044 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.003254/1.02, allocations: 2.38 MB / 1.146 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/1.021, allocations: 424.5 kB / 1.146 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/1.021, allocations: 221.5 kB / 1.147 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/1.021, allocations: 105 kB / 1.147 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.021, allocations: 42.52 kB / 1.147 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/1.021, allocations: 0 / 1.147 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.003146/1.024, allocations: 1.452 MB / 1.148 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.024, allocations: 55.84 kB / 1.148 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/1.025, allocations: 0.5421 MB / 1.149 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/1.025, allocations: 37.7 kB / 1.149 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/1.025, allocations: 328.6 kB / 1.149 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/1.026, allocations: 169.6 kB / 1.149 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/1.026, allocations: 90.16 kB / 1.149 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.026, allocations: 374.7 kB / 1.15 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.026, allocations: 177 kB / 1.15 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/1.027, allocations: 252.8 kB / 1.15 GB, free: 3.066 MB / 0.9044 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.003396/1.03, allocations: 1.447 MB / 1.152 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.03, allocations: 0 / 1.152 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008943/1.031, allocations: 0.5265 MB / 1.152 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.031, allocations: 7.938 kB / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.031, allocations: 0 / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.031, allocations: 8.203 kB / 1.152 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/1.031, allocations: 99.88 kB / 1.152 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.031, allocations: 4 kB / 1.152 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007102/1.032, allocations: 49.38 kB / 1.152 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/1.032, allocations: 19.94 kB / 1.152 GB, free: 0.8477 MB / 0.9044 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.0003892/1.033, allocations: 247.6 kB / 1.153 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.033, allocations: 71.16 kB / 1.153 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/1.033, allocations: 78.45 kB / 1.153 GB, free: 460 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.033, allocations: 4 kB / 1.153 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.033, allocations: 4 kB / 1.153 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000729/1.034, allocations: 0.5067 MB / 1.153 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/1.036, allocations: 1.585 MB / 1.155 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.036, allocations: 11.92 kB / 1.155 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/1.037, allocations: 111.8 kB / 1.155 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/1.037, allocations: 8 kB / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/1.037, allocations: 16 kB / 1.155 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.037, allocations: 15.92 kB / 1.155 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.037, allocations: 7.938 kB / 1.155 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.038, allocations: 0.8951 MB / 1.156 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/1.038, allocations: 196.2 kB / 1.156 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/1.038, allocations: 16 kB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/1.039, allocations: 51.75 kB / 1.156 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/1.039, allocations: 43.78 kB / 1.156 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/1.039, allocations: 27.98 kB / 1.156 GB, free: 12.71 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004585/1.039, allocations: 398.8 kB / 1.156 GB, free: 12.33 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/1.039, allocations: 0 / 1.156 GB, free: 12.33 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006941/1.04, allocations: 200 kB / 1.157 GB, free: 12.13 MB / 0.92 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.0004632/1.041, allocations: 189.3 kB / 1.157 GB, free: 11.95 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008554/1.041, allocations: 481.7 kB / 1.157 GB, free: 11.47 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.041, allocations: 4 kB / 1.157 GB, free: 11.47 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/1.042, allocations: 233.5 kB / 1.157 GB, free: 11.24 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.044, allocations: 499 kB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/1.046, allocations: 1.821 MB / 1.16 GB, free: 8.863 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/1.047, allocations: 0.985 MB / 1.161 GB, free: 7.852 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006204/1.048, allocations: 161.9 kB / 1.161 GB, free: 7.691 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.048, allocations: 59.42 kB / 1.161 GB, free: 7.633 MB / 0.92 GB Notification: Performance of SimCode: time 6.61e-07/1.048, allocations: 0 / 1.161 GB, free: 7.633 MB / 0.92 GB Notification: Performance of Templates: time 0.02321/1.071, allocations: 14.71 MB / 1.175 GB, free: 9.141 MB / 0.9356 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