Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001217/0.001217, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 200.7 kB / 16.79 MB, free: 6.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.89 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7591, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2038/0.963, allocations: 179.7 MB / 1.193 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009883/0.9729, allocations: 5.418 MB / 1.198 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.9744, allocations: 31.75 kB / 1.198 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.976, allocations: 378.1 kB / 1.198 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.9807, allocations: 1.565 MB / 1.2 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.983, allocations: 0.7317 MB / 1.201 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003728/0.9867, allocations: 2.982 MB / 1.204 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.9879, allocations: 0.5905 MB / 1.204 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.9895, allocations: 0.634 MB / 1.205 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.992, allocations: 0.7009 MB / 1.205 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.9922, allocations: 36 kB / 1.205 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.9957, allocations: 1.621 MB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004911/0.9962, allocations: 279.2 kB / 1.207 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009442/0.9971, allocations: 425.8 kB / 1.208 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.9992, allocations: 1.236 MB / 1.209 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9993, allocations: 0 / 1.209 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9993, allocations: 0 / 1.209 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.582e-05/0.9993, allocations: 0 / 1.209 GB, free: 13.77 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.002622/1.002, allocations: 1.184 MB / 1.21 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.002, allocations: 15.98 kB / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/1.004, allocations: 274.6 kB / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.005, allocations: 0.6632 MB / 1.211 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/1.005, allocations: 49.31 kB / 1.211 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.006, allocations: 67.89 kB / 1.211 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/1.007, allocations: 0.5804 MB / 1.212 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.007, allocations: 3.984 kB / 1.212 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/1.007, allocations: 23.98 kB / 1.212 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/1.007, allocations: 21.31 kB / 1.212 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009563/1.008, allocations: 0.5048 MB / 1.212 GB, free: 10.29 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.003571/1.011, allocations: 2.38 MB / 1.215 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/1.012, allocations: 428.5 kB / 1.215 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/1.013, allocations: 226.1 kB / 1.215 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/1.013, allocations: 101.1 kB / 1.215 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.013, allocations: 38.56 kB / 1.215 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/1.013, allocations: 0 / 1.215 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.003183/1.016, allocations: 1.447 MB / 1.217 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.016, allocations: 55.84 kB / 1.217 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/1.017, allocations: 0.5383 MB / 1.217 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/1.017, allocations: 37.7 kB / 1.217 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/1.017, allocations: 324.6 kB / 1.218 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/1.017, allocations: 177.5 kB / 1.218 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/1.018, allocations: 86.25 kB / 1.218 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.018, allocations: 374.7 kB / 1.218 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/1.018, allocations: 177 kB / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/1.018, allocations: 260.8 kB / 1.219 GB, free: 3.336 MB / 0.9669 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.003538/1.022, allocations: 1.44 MB / 1.22 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.022, allocations: 4 kB / 1.22 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001092/1.023, allocations: 0.5187 MB / 1.221 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.023, allocations: 8 kB / 1.221 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.023, allocations: 0 / 1.221 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/1.023, allocations: 4 kB / 1.221 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/1.024, allocations: 99.83 kB / 1.221 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.024, allocations: 4 kB / 1.221 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/1.024, allocations: 47.97 kB / 1.221 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/1.025, allocations: 19.94 kB / 1.221 GB, free: 1.137 MB / 0.9669 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.0005029/1.025, allocations: 245.7 kB / 1.221 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/1.025, allocations: 67.16 kB / 1.221 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/1.025, allocations: 82.45 kB / 1.221 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.025, allocations: 4 kB / 1.221 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.025, allocations: 4 kB / 1.221 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007629/1.026, allocations: 0.5145 MB / 1.222 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/1.029, allocations: 1.592 MB / 1.223 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.029, allocations: 7.984 kB / 1.223 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/1.029, allocations: 112.5 kB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.029, allocations: 8 kB / 1.223 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/1.03, allocations: 20 kB / 1.223 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/1.03, allocations: 11.98 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/1.03, allocations: 11.88 kB / 1.223 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/1.031, allocations: 0.895 MB / 1.224 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/1.031, allocations: 192.3 kB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.031, allocations: 20 kB / 1.224 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/1.032, allocations: 43.81 kB / 1.224 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/1.032, allocations: 43.78 kB / 1.225 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/1.032, allocations: 27.98 kB / 1.225 GB, free: 13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005107/1.033, allocations: 394.8 kB / 1.225 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.7e-07/1.033, allocations: 3.938 kB / 1.225 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007761/1.033, allocations: 200 kB / 1.225 GB, free: 12.42 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.0005144/1.034, allocations: 187.4 kB / 1.225 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008705/1.035, allocations: 442 kB / 1.226 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.035, allocations: 4.062 kB / 1.226 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/1.035, allocations: 228.1 kB / 1.226 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.038, allocations: 476.9 kB / 1.226 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/1.041, allocations: 1.875 MB / 1.228 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/1.041, allocations: 0.9697 MB / 1.229 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/1.041, allocations: 63.42 kB / 1.229 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/1.041, allocations: 0 / 1.229 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.01916/1.061, allocations: 11.6 MB / 1.241 GB, free: 12.59 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches