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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001409/0.001409, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.01123/0.01123, allocations: 171.6 kB / 16.26 MB, free: 6.676 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7352, allocations: 142.4 MB / 0.955 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2309/0.9661, allocations: 177.3 MB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009669/0.9758, allocations: 5.362 MB / 1.133 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.9774, allocations: 35.81 kB / 1.133 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.9789, allocations: 378 kB / 1.134 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005038/0.9839, allocations: 1.569 MB / 1.135 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.9865, allocations: 0.731 MB / 1.136 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.9904, allocations: 2.977 MB / 1.139 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009844/0.9914, allocations: 0.5699 MB / 1.139 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.9926, allocations: 0.6066 MB / 1.14 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.9945, allocations: 0.6719 MB / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.9946, allocations: 28 kB / 1.141 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.9979, allocations: 1.609 MB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.9983, allocations: 267.1 kB / 1.143 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005615/0.9988, allocations: 427.6 kB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/1.001, allocations: 1.686 MB / 1.145 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.001, allocations: 4 kB / 1.145 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.031e-06/1.001, allocations: 0 / 1.145 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.289e-05/1.001, allocations: 7.938 kB / 1.145 GB, free: 12.5 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.001736/1.003, allocations: 1.005 MB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.003, allocations: 12.03 kB / 1.146 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/1.005, allocations: 270.7 kB / 1.146 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.006, allocations: 0.6825 MB / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/1.006, allocations: 49.25 kB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.006, allocations: 63.98 kB / 1.147 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.007, allocations: 0.5882 MB / 1.147 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.008, allocations: 0 / 1.147 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/1.008, allocations: 20 kB / 1.147 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/1.008, allocations: 21.31 kB / 1.147 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008979/1.009, allocations: 0.5087 MB / 1.148 GB, free: 9.18 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.003175/1.012, allocations: 2.384 MB / 1.15 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/1.013, allocations: 424.5 kB / 1.151 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/1.013, allocations: 225.4 kB / 1.151 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/1.013, allocations: 97.09 kB / 1.151 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.013, allocations: 42.52 kB / 1.151 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/1.013, allocations: 0 / 1.151 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002904/1.016, allocations: 1.435 MB / 1.152 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.016, allocations: 63.72 kB / 1.152 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/1.017, allocations: 0.5421 MB / 1.153 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/1.017, allocations: 37.7 kB / 1.153 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/1.017, allocations: 328.7 kB / 1.153 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/1.017, allocations: 169.5 kB / 1.153 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/1.017, allocations: 45.69 kB / 1.153 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.018, allocations: 374.7 kB / 1.154 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/1.018, allocations: 177 kB / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/1.018, allocations: 260.8 kB / 1.154 GB, free: 2.27 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.003451/1.022, allocations: 1.456 MB / 1.156 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/1.022, allocations: 0 / 1.156 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008787/1.023, allocations: 0.5265 MB / 1.156 GB, free: 232 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.023, allocations: 10.03 kB / 1.156 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.023, allocations: 0 / 1.156 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.023, allocations: 4 kB / 1.156 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.023, allocations: 95.89 kB / 1.156 GB, free: 124 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.023, allocations: 4 kB / 1.156 GB, free: 120 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/1.024, allocations: 51.31 kB / 1.156 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/1.024, allocations: 15.94 kB / 1.156 GB, free: 56 kB / 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.0003772/1.024, allocations: 249.7 kB / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/1.024, allocations: 71.16 kB / 1.157 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/1.025, allocations: 78.44 kB / 1.157 GB, free: 15.65 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.025, allocations: 7.984 kB / 1.157 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.025, allocations: 4 kB / 1.157 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000733/1.025, allocations: 0.5106 MB / 1.157 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/1.028, allocations: 1.589 MB / 1.159 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.028, allocations: 4 kB / 1.159 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/1.028, allocations: 111.8 kB / 1.159 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/1.028, allocations: 8 kB / 1.159 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/1.028, allocations: 12 kB / 1.159 GB, free: 13.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/1.028, allocations: 19.86 kB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.028, allocations: 11.94 kB / 1.159 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.03, allocations: 0.8953 MB / 1.16 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/1.03, allocations: 200.2 kB / 1.16 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/1.03, allocations: 19.98 kB / 1.16 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/1.031, allocations: 40.58 kB / 1.16 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.031, allocations: 47.77 kB / 1.16 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.031, allocations: 24 kB / 1.16 GB, free: 11.91 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005155/1.032, allocations: 398.8 kB / 1.16 GB, free: 11.53 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.6e-07/1.032, allocations: 0 / 1.16 GB, free: 11.53 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007784/1.032, allocations: 200 kB / 1.161 GB, free: 11.33 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.0006/1.033, allocations: 192.9 kB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009113/1.034, allocations: 437.3 kB / 1.161 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.034, allocations: 0 / 1.161 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/1.034, allocations: 232.8 kB / 1.161 GB, free: 10.49 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.037, allocations: 474 kB / 1.162 GB, free: 10.04 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/1.04, allocations: 1.901 MB / 1.164 GB, free: 8.039 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/1.04, allocations: 0.9775 MB / 1.165 GB, free: 7.035 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006492/1.041, allocations: 169.8 kB / 1.165 GB, free: 6.867 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/1.041, allocations: 55.44 kB / 1.165 GB, free: 6.812 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/1.041, allocations: 3.938 kB / 1.165 GB, free: 6.809 MB / 0.92 GB Notification: Performance of Templates: time 0.02507/1.066, allocations: 14.08 MB / 1.179 GB, free: 8.922 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches