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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00148/0.00148, allocations: 193.7 kB / 16.14 MB, free: 6.629 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.776/2.776, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7375/0.7395, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2317/0.9712, allocations: 179.7 MB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.982, allocations: 5.419 MB / 1.197 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.984, allocations: 35.75 kB / 1.197 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.9854, allocations: 378.1 kB / 1.198 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.9901, allocations: 1.568 MB / 1.199 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.9923, allocations: 0.7243 MB / 1.2 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003999/0.9963, allocations: 2.983 MB / 1.203 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.9973, allocations: 0.5944 MB / 1.203 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.9986, allocations: 0.6223 MB / 1.204 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/1.001, allocations: 0.7108 MB / 1.205 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/1.001, allocations: 36 kB / 1.205 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/1.004, allocations: 1.617 MB / 1.206 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003847/1.005, allocations: 271.2 kB / 1.207 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006253/1.005, allocations: 433.8 kB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/1.008, allocations: 1.702 MB / 1.209 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.008, allocations: 0 / 1.209 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/1.008, allocations: 0 / 1.209 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.959e-06/1.008, allocations: 0 / 1.209 GB, free: 13.36 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.002043/1.01, allocations: 1.195 MB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.011, allocations: 11.98 kB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.012, allocations: 274.7 kB / 1.21 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/1.014, allocations: 0.6749 MB / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/1.014, allocations: 49.3 kB / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.014, allocations: 59.91 kB / 1.211 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.015, allocations: 0.5765 MB / 1.212 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.015, allocations: 4 kB / 1.212 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/1.015, allocations: 20 kB / 1.212 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/1.015, allocations: 21.31 kB / 1.212 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/1.016, allocations: 0.5048 MB / 1.212 GB, free: 9.879 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.003441/1.019, allocations: 2.388 MB / 1.214 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/1.02, allocations: 425.6 kB / 1.215 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/1.021, allocations: 224.8 kB / 1.215 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/1.021, allocations: 101.1 kB / 1.215 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.021, allocations: 34.56 kB / 1.215 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/1.021, allocations: 0 / 1.215 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.003138/1.024, allocations: 1.447 MB / 1.217 GB, free: 5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.024, allocations: 55.84 kB / 1.217 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/1.025, allocations: 0.5383 MB / 1.217 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/1.025, allocations: 37.7 kB / 1.217 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/1.025, allocations: 332.6 kB / 1.217 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/1.025, allocations: 165.5 kB / 1.218 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.026, allocations: 90.25 kB / 1.218 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.026, allocations: 378.7 kB / 1.218 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/1.026, allocations: 173 kB / 1.218 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/1.027, allocations: 252.8 kB / 1.218 GB, free: 2.934 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.003501/1.03, allocations: 1.452 MB / 1.22 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.03, allocations: 0 / 1.22 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009446/1.031, allocations: 0.5265 MB / 1.22 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.031, allocations: 7.984 kB / 1.22 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.031, allocations: 4 kB / 1.22 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.031, allocations: 0 / 1.22 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/1.031, allocations: 96.06 kB / 1.221 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.032, allocations: 7.938 kB / 1.221 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/1.032, allocations: 49.36 kB / 1.221 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/1.032, allocations: 23.94 kB / 1.221 GB, free: 0.7148 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.0004026/1.033, allocations: 242.2 kB / 1.221 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/1.033, allocations: 71.16 kB / 1.221 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/1.033, allocations: 74.45 kB / 1.221 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.033, allocations: 11.94 kB / 1.221 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.033, allocations: 0 / 1.221 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007992/1.034, allocations: 0.5105 MB / 1.221 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/1.036, allocations: 1.593 MB / 1.223 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.036, allocations: 8 kB / 1.223 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/1.037, allocations: 119.9 kB / 1.223 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.037, allocations: 4 kB / 1.223 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/1.037, allocations: 19.98 kB / 1.223 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.037, allocations: 4 kB / 1.223 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.037, allocations: 15.88 kB / 1.223 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/1.038, allocations: 0.895 MB / 1.224 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/1.039, allocations: 196.3 kB / 1.224 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.039, allocations: 23.98 kB / 1.224 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/1.039, allocations: 31.83 kB / 1.224 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.039, allocations: 55.77 kB / 1.224 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/1.039, allocations: 23.94 kB / 1.224 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000503/1.04, allocations: 398.8 kB / 1.225 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.04, allocations: 0 / 1.225 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007128/1.041, allocations: 196 kB / 1.225 GB, free: 12 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.0005083/1.041, allocations: 191.1 kB / 1.225 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008296/1.042, allocations: 437.2 kB / 1.226 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.042, allocations: 0 / 1.226 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/1.042, allocations: 234 kB / 1.226 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/1.045, allocations: 475.3 kB / 1.226 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/1.048, allocations: 1.818 MB / 1.228 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/1.048, allocations: 0.9697 MB / 1.229 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006828/1.049, allocations: 169.8 kB / 1.229 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/1.049, allocations: 55.44 kB / 1.229 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/1.049, allocations: 4 kB / 1.229 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.02758/1.077, allocations: 14.15 MB / 1.243 GB, free: 9.621 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches