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.001003/0.001003, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.000991/0.000991, allocations: 189.7 kB / 17.29 MB, free: 5.48 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.459/2.459, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.17 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2711, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6917/0.9628, allocations: 181.9 MB / 1.196 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008869/0.9718, allocations: 5.361 MB / 1.202 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.973, allocations: 38.72 kB / 1.202 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.9744, allocations: 435.4 kB / 1.202 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.9787, allocations: 1.678 MB / 1.204 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.9807, allocations: 0.8053 MB / 1.205 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003002/0.9837, allocations: 2.195 MB / 1.207 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009686/0.9847, allocations: 0.6911 MB / 1.207 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.9859, allocations: 0.7384 MB / 1.208 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.9873, allocations: 0.679 MB / 1.209 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.9875, allocations: 75.41 kB / 1.209 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.9899, allocations: 1.4 MB / 1.21 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.9902, allocations: 317.8 kB / 1.21 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.9906, allocations: 476 kB / 1.211 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.9926, allocations: 1.66 MB / 1.213 GB, free: 276 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9926, allocations: 3.984 kB / 1.213 GB, free: 272 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9926, allocations: 0 / 1.213 GB, free: 272 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.9926, allocations: 0 / 1.213 GB, free: 272 kB / 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.001667/0.9943, allocations: 1.183 MB / 1.214 GB, free: 15.33 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.9943, allocations: 14 kB / 1.214 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.9961, allocations: 273.9 kB / 1.214 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.9973, allocations: 0.7044 MB / 1.215 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.9974, allocations: 48.17 kB / 1.215 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/0.9975, allocations: 64.08 kB / 1.215 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.9984, allocations: 0.5795 MB / 1.215 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.9985, allocations: 0 / 1.215 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.9985, allocations: 25.16 kB / 1.215 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.9986, allocations: 21.03 kB / 1.215 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.9994, allocations: 0.5026 MB / 1.216 GB, free: 13.99 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.003011/1.002, allocations: 2.372 MB / 1.218 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/1.003, allocations: 436 kB / 1.219 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/1.004, allocations: 222.2 kB / 1.219 GB, free: 11.63 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/1.004, allocations: 95.56 kB / 1.219 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.004, allocations: 49.42 kB / 1.219 GB, free: 11.48 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.542e-06/1.004, allocations: 0 / 1.219 GB, free: 11.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.002662/1.006, allocations: 1.442 MB / 1.22 GB, free: 10.12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.007, allocations: 63.83 kB / 1.22 GB, free: 10.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/1.007, allocations: 0.5383 MB / 1.221 GB, free: 9.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/1.007, allocations: 33.7 kB / 1.221 GB, free: 9.461 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/1.007, allocations: 328.6 kB / 1.221 GB, free: 9.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.008, allocations: 165.6 kB / 1.221 GB, free: 8.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.008, allocations: 90.16 kB / 1.222 GB, free: 8.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.008, allocations: 374.7 kB / 1.222 GB, free: 8.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/1.008, allocations: 177 kB / 1.222 GB, free: 8.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/1.008, allocations: 264.8 kB / 1.222 GB, free: 8.047 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.003307/1.012, allocations: 1.438 MB / 1.224 GB, free: 6.559 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.012, allocations: 4 kB / 1.224 GB, free: 6.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008347/1.013, allocations: 0.5265 MB / 1.224 GB, free: 6.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.013, allocations: 10.19 kB / 1.224 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.013, allocations: 0.875 kB / 1.224 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.013, allocations: 4 kB / 1.224 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/1.013, allocations: 99.83 kB / 1.224 GB, free: 5.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.013, allocations: 4 kB / 1.224 GB, free: 5.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/1.014, allocations: 17.03 kB / 1.224 GB, free: 5.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.014, allocations: 21.28 kB / 1.224 GB, free: 5.871 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.0003005/1.014, allocations: 253.5 kB / 1.225 GB, free: 5.613 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.014, allocations: 71.23 kB / 1.225 GB, free: 5.543 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/1.014, allocations: 82.45 kB / 1.225 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.014, allocations: 4 kB / 1.225 GB, free: 5.453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.014, allocations: 0 / 1.225 GB, free: 5.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007056/1.015, allocations: 0.5105 MB / 1.225 GB, free: 4.914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/1.017, allocations: 1.596 MB / 1.227 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.017, allocations: 4 kB / 1.227 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/1.018, allocations: 123.9 kB / 1.227 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.018, allocations: 4 kB / 1.227 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/1.018, allocations: 20 kB / 1.227 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/1.018, allocations: 8 kB / 1.227 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.018, allocations: 8.953 kB / 1.227 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.019, allocations: 0.8983 MB / 1.228 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/1.019, allocations: 200.3 kB / 1.228 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/1.02, allocations: 12 kB / 1.228 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/1.02, allocations: 23.89 kB / 1.228 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/1.02, allocations: 43.84 kB / 1.228 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/1.02, allocations: 31.92 kB / 1.228 GB, free: 1.734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004369/1.021, allocations: 394.8 kB / 1.229 GB, free: 1.352 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.021, allocations: 0 / 1.229 GB, free: 1.352 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000627/1.021, allocations: 196 kB / 1.229 GB, free: 1.16 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.0003912/1.022, allocations: 194.3 kB / 1.229 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007435/1.022, allocations: 441.2 kB / 1.229 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/1.023, allocations: 0 / 1.229 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/1.023, allocations: 232.1 kB / 1.23 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.025, allocations: 497.3 kB / 1.23 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/1.027, allocations: 1.558 MB / 1.232 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/1.028, allocations: 0.9733 MB / 1.232 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004806/1.028, allocations: 169.8 kB / 1.233 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.028, allocations: 59.44 kB / 1.233 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/1.028, allocations: 0 / 1.233 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of Templates: time 0.02268/1.051, allocations: 14.79 MB / 1.247 GB, free: 14.4 MB / 0.9512 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 -s gbode -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