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.001144/0.001144, allocations: 107.9 kB / 15.99 MB, free: 6.344 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.001171/0.001171, allocations: 189.8 kB / 16.91 MB, free: 6.18 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.26/2.26, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.97 kB / 0.8127 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.762/1.044, allocations: 179.5 MB / 1.125 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008295/1.052, allocations: 5.329 MB / 1.13 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/1.054, allocations: 30.19 kB / 1.13 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/1.055, allocations: 386.7 kB / 1.131 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004667/1.06, allocations: 1.57 MB / 1.132 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/1.062, allocations: 0.7347 MB / 1.133 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003557/1.066, allocations: 2.195 MB / 1.135 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/1.067, allocations: 0.6748 MB / 1.136 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/1.069, allocations: 0.754 MB / 1.136 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/1.071, allocations: 0.7188 MB / 1.137 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/1.071, allocations: 75.41 kB / 1.137 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/1.074, allocations: 1.471 MB / 1.139 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004016/1.075, allocations: 322.2 kB / 1.139 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006381/1.075, allocations: 468.7 kB / 1.139 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/1.077, allocations: 1.249 MB / 1.141 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.077, allocations: 4 kB / 1.141 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/1.077, allocations: 0 / 1.141 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.3e-05/1.077, allocations: 1.344 kB / 1.141 GB, free: 4.66 MB / 0.8575 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.001951/1.079, allocations: 1.18 MB / 1.142 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.079, allocations: 13.91 kB / 1.142 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/1.081, allocations: 266 kB / 1.142 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009665/1.082, allocations: 0.6773 MB / 1.143 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/1.082, allocations: 46.47 kB / 1.143 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/1.082, allocations: 60.44 kB / 1.143 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.083, allocations: 0.5847 MB / 1.143 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.083, allocations: 1.5 kB / 1.143 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/1.083, allocations: 25.14 kB / 1.143 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/1.083, allocations: 28.67 kB / 1.143 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/1.084, allocations: 0.5012 MB / 1.144 GB, free: 19.54 MB / 0.8731 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.003243/1.087, allocations: 2.384 MB / 1.146 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/1.088, allocations: 426.7 kB / 1.147 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/1.089, allocations: 221.9 kB / 1.147 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/1.089, allocations: 98.08 kB / 1.147 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.089, allocations: 42.33 kB / 1.147 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/1.089, allocations: 0 / 1.147 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.002919/1.092, allocations: 1.448 MB / 1.148 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.092, allocations: 61.09 kB / 1.148 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/1.092, allocations: 0.5383 MB / 1.149 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/1.092, allocations: 40.95 kB / 1.149 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.093, allocations: 329.7 kB / 1.149 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.093, allocations: 164 kB / 1.149 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/1.093, allocations: 90.05 kB / 1.15 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.093, allocations: 379.1 kB / 1.15 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/1.093, allocations: 174.4 kB / 1.15 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/1.094, allocations: 257.3 kB / 1.15 GB, free: 16.12 MB / 0.8731 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.003133/1.097, allocations: 1.45 MB / 1.152 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.097, allocations: 2.719 kB / 1.152 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008874/1.098, allocations: 0.5268 MB / 1.152 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.098, allocations: 5.469 kB / 1.152 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.098, allocations: 5.625 kB / 1.152 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.098, allocations: 4.375 kB / 1.152 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/1.098, allocations: 92.84 kB / 1.152 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.098, allocations: 2.75 kB / 1.152 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/1.099, allocations: 44.92 kB / 1.152 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/1.099, allocations: 18.98 kB / 1.152 GB, free: 15.18 MB / 0.8731 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.000392/1.099, allocations: 249.6 kB / 1.153 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/1.1, allocations: 69.41 kB / 1.153 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/1.1, allocations: 79.41 kB / 1.153 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.1, allocations: 4.469 kB / 1.153 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.1, allocations: 2.5 kB / 1.153 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006858/1.1, allocations: 0.5201 MB / 1.153 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/1.103, allocations: 1.578 MB / 1.155 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/1.103, allocations: 4.531 kB / 1.155 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/1.103, allocations: 114 kB / 1.155 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.103, allocations: 6.797 kB / 1.155 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.103, allocations: 21.11 kB / 1.155 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/1.103, allocations: 16.97 kB / 1.155 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.103, allocations: 5.656 kB / 1.155 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.105, allocations: 0.8988 MB / 1.156 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/1.105, allocations: 196.5 kB / 1.156 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/1.105, allocations: 22.81 kB / 1.156 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/1.106, allocations: 41.52 kB / 1.156 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/1.106, allocations: 42.61 kB / 1.156 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.106, allocations: 28.42 kB / 1.156 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005248/1.106, allocations: 397.8 kB / 1.157 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/1.106, allocations: 4 kB / 1.157 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008456/1.107, allocations: 193.3 kB / 1.157 GB, free: 12.69 MB / 0.8731 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.0004935/1.108, allocations: 196.4 kB / 1.157 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009321/1.109, allocations: 484 kB / 1.157 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.109, allocations: 0.8125 kB / 1.157 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/1.109, allocations: 229.9 kB / 1.158 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.111, allocations: 492.1 kB / 1.158 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/1.114, allocations: 1.88 MB / 1.16 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/1.115, allocations: 0.9749 MB / 1.161 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/1.115, allocations: 57.22 kB / 1.161 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/1.115, allocations: 0 / 1.161 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.01882/1.134, allocations: 11.62 MB / 1.172 GB, free: 6.828 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches