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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009329/0.0009331, allocations: 91.92 kB / 16.02 MB, free: 80 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.001075/0.001075, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7868, allocations: 142.4 MB / 0.9557 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2121/0.9989, allocations: 177.3 MB / 1.129 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009458/1.008, allocations: 5.359 MB / 1.134 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/1.01, allocations: 27.81 kB / 1.134 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/1.011, allocations: 382.1 kB / 1.134 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004663/1.016, allocations: 1.584 MB / 1.136 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/1.018, allocations: 0.7195 MB / 1.137 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003985/1.022, allocations: 2.982 MB / 1.14 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/1.024, allocations: 0.5777 MB / 1.14 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/1.025, allocations: 0.6066 MB / 1.141 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/1.028, allocations: 0.6702 MB / 1.141 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/1.028, allocations: 28 kB / 1.141 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/1.031, allocations: 1.609 MB / 1.143 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004903/1.032, allocations: 271.1 kB / 1.143 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000968/1.033, allocations: 431.6 kB / 1.144 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/1.035, allocations: 1.216 MB / 1.145 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/1.035, allocations: 0 / 1.145 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.66e-06/1.035, allocations: 8 kB / 1.145 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.38e-05/1.035, allocations: 3.938 kB / 1.145 GB, free: 12.97 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.002332/1.037, allocations: 1.005 MB / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.038, allocations: 12.03 kB / 1.146 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/1.04, allocations: 274.7 kB / 1.146 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.041, allocations: 0.6747 MB / 1.147 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/1.041, allocations: 45.31 kB / 1.147 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.041, allocations: 60 kB / 1.147 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.042, allocations: 0.5843 MB / 1.147 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.042, allocations: 0 / 1.147 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/1.043, allocations: 23.94 kB / 1.147 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/1.043, allocations: 25.31 kB / 1.148 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.044, allocations: 0.5009 MB / 1.148 GB, free: 9.672 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.003797/1.047, allocations: 2.388 MB / 1.15 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/1.048, allocations: 431.9 kB / 1.151 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/1.049, allocations: 225.4 kB / 1.151 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/1.049, allocations: 93.11 kB / 1.151 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/1.049, allocations: 46.5 kB / 1.151 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 5.841e-06/1.049, allocations: 3.984 kB / 1.151 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.003378/1.052, allocations: 1.435 MB / 1.152 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/1.053, allocations: 59.78 kB / 1.153 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/1.053, allocations: 0.5421 MB / 1.153 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/1.053, allocations: 41.7 kB / 1.153 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/1.054, allocations: 324.7 kB / 1.153 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/1.054, allocations: 169.5 kB / 1.154 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/1.054, allocations: 41.7 kB / 1.154 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.054, allocations: 378.7 kB / 1.154 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/1.055, allocations: 177 kB / 1.154 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/1.055, allocations: 256.8 kB / 1.154 GB, free: 2.758 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.00359/1.059, allocations: 1.456 MB / 1.156 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.059, allocations: 0 / 1.156 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001034/1.06, allocations: 0.5266 MB / 1.156 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.06, allocations: 8.031 kB / 1.156 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.06, allocations: 0 / 1.156 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.06, allocations: 4 kB / 1.156 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/1.06, allocations: 95.89 kB / 1.156 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.06, allocations: 4 kB / 1.156 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/1.061, allocations: 47.81 kB / 1.157 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/1.061, allocations: 15.94 kB / 1.157 GB, free: 0.543 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 sytem: 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.0004691/1.061, allocations: 249.7 kB / 1.157 GB, free: 296 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.062, allocations: 71.16 kB / 1.157 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/1.062, allocations: 74.45 kB / 1.157 GB, free: 148 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.062, allocations: 4 kB / 1.157 GB, free: 144 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.062, allocations: 8 kB / 1.157 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008146/1.063, allocations: 0.5067 MB / 1.157 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/1.065, allocations: 1.589 MB / 1.159 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.065, allocations: 4 kB / 1.159 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/1.066, allocations: 115.8 kB / 1.159 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/1.066, allocations: 12 kB / 1.159 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/1.066, allocations: 12 kB / 1.159 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/1.066, allocations: 15.92 kB / 1.159 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.066, allocations: 7.938 kB / 1.159 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/1.067, allocations: 0.8954 MB / 1.16 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/1.068, allocations: 200.2 kB / 1.16 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.068, allocations: 16 kB / 1.16 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/1.068, allocations: 44.56 kB / 1.16 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/1.069, allocations: 43.78 kB / 1.16 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/1.069, allocations: 27.98 kB / 1.16 GB, free: 12.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005183/1.069, allocations: 402.8 kB / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.61e-07/1.069, allocations: 0 / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007816/1.07, allocations: 196 kB / 1.161 GB, free: 11.83 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.0005072/1.07, allocations: 207.5 kB / 1.161 GB, free: 11.62 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008583/1.071, allocations: 433.3 kB / 1.161 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.071, allocations: 0 / 1.161 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/1.072, allocations: 236.5 kB / 1.162 GB, free: 10.97 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.074, allocations: 478.1 kB / 1.162 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/1.077, allocations: 1.954 MB / 1.164 GB, free: 8.461 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/1.078, allocations: 0.9736 MB / 1.165 GB, free: 7.461 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/1.078, allocations: 59.44 kB / 1.165 GB, free: 7.402 MB / 0.92 GB Notification: Performance of SimCode: time 9.22e-07/1.078, allocations: 4 kB / 1.165 GB, free: 7.398 MB / 0.92 GB Notification: Performance of Templates: time 0.01991/1.098, allocations: 11.48 MB / 1.176 GB, free: 12 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/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