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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001436/0.001436, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00147/0.00147, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 63.97 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3683, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.8605/1.229, allocations: 181.9 MB / 1.196 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009479/1.238, allocations: 5.349 MB / 1.201 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/1.24, allocations: 33.59 kB / 1.201 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/1.242, allocations: 442.6 kB / 1.201 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004946/1.247, allocations: 1.681 MB / 1.203 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/1.249, allocations: 0.7878 MB / 1.204 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003274/1.252, allocations: 2.189 MB / 1.206 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/1.253, allocations: 0.6852 MB / 1.206 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/1.255, allocations: 0.7346 MB / 1.207 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/1.257, allocations: 0.6838 MB / 1.208 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/1.257, allocations: 79.38 kB / 1.208 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/1.26, allocations: 1.397 MB / 1.209 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003891/1.261, allocations: 318.8 kB / 1.21 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006266/1.261, allocations: 471.3 kB / 1.21 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002582/1.264, allocations: 1.639 MB / 1.212 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/1.264, allocations: 3.938 kB / 1.212 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/1.264, allocations: 3.938 kB / 1.212 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.409e-05/1.264, allocations: 0 / 1.212 GB, free: 0.707 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.001797/1.266, allocations: 1.177 MB / 1.213 GB, free: 15.78 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/1.266, allocations: 10.12 kB / 1.213 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/1.267, allocations: 273.4 kB / 1.213 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/1.269, allocations: 0.6708 MB / 1.214 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/1.269, allocations: 46.78 kB / 1.214 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/1.269, allocations: 60 kB / 1.214 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009849/1.27, allocations: 0.581 MB / 1.214 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.27, allocations: 0 / 1.214 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/1.27, allocations: 26 kB / 1.214 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.27, allocations: 24.86 kB / 1.214 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/1.271, allocations: 0.5007 MB / 1.215 GB, free: 14.46 MB / 0.92 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.003146/1.274, allocations: 2.403 MB / 1.217 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/1.275, allocations: 440.3 kB / 1.218 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/1.275, allocations: 213 kB / 1.218 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/1.275, allocations: 104.1 kB / 1.218 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/1.275, allocations: 39.81 kB / 1.218 GB, free: 11.94 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/1.275, allocations: 0 / 1.218 GB, free: 11.94 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.002901/1.278, allocations: 1.439 MB / 1.219 GB, free: 10.81 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.278, allocations: 67.78 kB / 1.22 GB, free: 10.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/1.279, allocations: 0.5383 MB / 1.22 GB, free: 10.19 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/1.279, allocations: 33.7 kB / 1.22 GB, free: 10.15 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/1.279, allocations: 328.6 kB / 1.22 GB, free: 9.824 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.279, allocations: 165.6 kB / 1.221 GB, free: 9.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/1.279, allocations: 94.16 kB / 1.221 GB, free: 9.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.28, allocations: 374.7 kB / 1.221 GB, free: 9.188 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/1.28, allocations: 180.7 kB / 1.221 GB, free: 9.016 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/1.28, allocations: 256.8 kB / 1.221 GB, free: 8.742 MB / 0.92 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.003412/1.284, allocations: 1.45 MB / 1.223 GB, free: 7.242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.284, allocations: 3.938 kB / 1.223 GB, free: 7.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009061/1.285, allocations: 0.5266 MB / 1.223 GB, free: 6.707 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.285, allocations: 8 kB / 1.223 GB, free: 6.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.285, allocations: 0 / 1.223 GB, free: 6.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.285, allocations: 4 kB / 1.223 GB, free: 6.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/1.285, allocations: 99.83 kB / 1.223 GB, free: 6.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/1.285, allocations: 4.859 kB / 1.223 GB, free: 6.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/1.286, allocations: 19.89 kB / 1.223 GB, free: 6.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/1.286, allocations: 12 kB / 1.223 GB, free: 6.562 MB / 0.92 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.0003617/1.286, allocations: 264.2 kB / 1.224 GB, free: 6.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.286, allocations: 63.25 kB / 1.224 GB, free: 6.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/1.286, allocations: 78.45 kB / 1.224 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.286, allocations: 4 kB / 1.224 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.286, allocations: 0 / 1.224 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007509/1.287, allocations: 0.5106 MB / 1.224 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/1.29, allocations: 1.588 MB / 1.226 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.29, allocations: 11.92 kB / 1.226 GB, free: 3.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/1.29, allocations: 112.5 kB / 1.226 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/1.29, allocations: 12 kB / 1.226 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.29, allocations: 12 kB / 1.226 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/1.29, allocations: 15.92 kB / 1.226 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.29, allocations: 4 kB / 1.226 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/1.292, allocations: 0.902 MB / 1.227 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/1.292, allocations: 200.4 kB / 1.227 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/1.292, allocations: 20 kB / 1.227 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/1.292, allocations: 24.66 kB / 1.227 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/1.293, allocations: 47.83 kB / 1.227 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/1.293, allocations: 23.94 kB / 1.227 GB, free: 2.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00046/1.293, allocations: 398.8 kB / 1.228 GB, free: 2.043 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/1.293, allocations: 0 / 1.228 GB, free: 2.043 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006736/1.294, allocations: 204 kB / 1.228 GB, free: 1.844 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.000461/1.294, allocations: 197.5 kB / 1.228 GB, free: 1.656 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008978/1.295, allocations: 477.2 kB / 1.228 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.295, allocations: 0 / 1.228 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003593/1.295, allocations: 236.8 kB / 1.229 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/1.298, allocations: 490.4 kB / 1.229 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/1.3, allocations: 1.615 MB / 1.231 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/1.301, allocations: 0.9772 MB / 1.232 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/1.301, allocations: 59.44 kB / 1.232 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/1.301, allocations: 0 / 1.232 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of Templates: time 0.01821/1.319, allocations: 11.62 MB / 1.243 GB, free: 2.199 MB / 0.9356 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