Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001012, allocations: 92.16 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.001473/0.001473, allocations: 183 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.835/2.835, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003727, allocations: 8 kB / 0.8735 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7846, allocations: 153.8 MB / 1.024 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1856/0.9702, allocations: 166.4 MB / 1.186 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005777/0.976, allocations: 3.379 MB / 1.189 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/0.9768, allocations: 15.88 kB / 1.189 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008842/0.9777, allocations: 274.6 kB / 1.19 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.9802, allocations: 0.9571 MB / 1.191 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.9819, allocations: 0.605 MB / 1.191 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.9844, allocations: 2.106 MB / 1.193 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006412/0.985, allocations: 396.6 kB / 1.194 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.9859, allocations: 477.9 kB / 1.194 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.987, allocations: 480.3 kB / 1.195 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.987, allocations: 20 kB / 1.195 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.9887, allocations: 0.9429 MB / 1.196 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.989, allocations: 199.4 kB / 1.196 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.9893, allocations: 328.2 kB / 1.196 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.9903, allocations: 0.83 MB / 1.197 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9903, allocations: 0 / 1.197 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9904, allocations: 4 kB / 1.197 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.9904, allocations: 0 / 1.197 GB, free: 13.96 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001344/0.9917, allocations: 0.787 MB / 1.198 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9918, allocations: 12.03 kB / 1.198 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.993, allocations: 175.1 kB / 1.198 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.9937, allocations: 0.4935 MB / 1.198 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.9938, allocations: 37 kB / 1.198 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.9939, allocations: 47.92 kB / 1.198 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.9947, allocations: 486.3 kB / 1.199 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.9947, allocations: 3.938 kB / 1.199 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.9948, allocations: 16 kB / 1.199 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.9948, allocations: 17 kB / 1.199 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.9955, allocations: 419.7 kB / 1.199 GB, free: 11.39 MB / 0.9512 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.002575/0.9981, allocations: 1.728 MB / 1.201 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.9986, allocations: 307.2 kB / 1.201 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.9988, allocations: 176.8 kB / 1.201 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.999, allocations: 97.05 kB / 1.201 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.9991, allocations: 46.55 kB / 1.202 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.9991, allocations: 0 / 1.202 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001973/1.001, allocations: 1.052 MB / 1.203 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.001, allocations: 55.41 kB / 1.203 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/1.002, allocations: 469.7 kB / 1.203 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/1.002, allocations: 33.7 kB / 1.203 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.002, allocations: 252.1 kB / 1.203 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/1.002, allocations: 106.4 kB / 1.203 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/1.002, allocations: 37.7 kB / 1.203 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.002, allocations: 358.8 kB / 1.204 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/1.002, allocations: 123.9 kB / 1.204 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/1.003, allocations: 209.5 kB / 1.204 GB, free: 6.102 MB / 0.9512 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/1.005, allocations: 0.8701 MB / 1.205 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.005, allocations: 0 / 1.205 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006365/1.005, allocations: 412.7 kB / 1.205 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.005, allocations: 4 kB / 1.205 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.005, allocations: 4 kB / 1.205 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.005, allocations: 0 / 1.205 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.006, allocations: 76.09 kB / 1.205 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.006, allocations: 4 kB / 1.205 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/1.006, allocations: 31.83 kB / 1.205 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/1.006, allocations: 12 kB / 1.206 GB, free: 4.652 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002974/1.007, allocations: 227.5 kB / 1.206 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/1.007, allocations: 51.42 kB / 1.206 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.007, allocations: 56.77 kB / 1.206 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/1.007, allocations: 4 kB / 1.206 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.007, allocations: 4 kB / 1.206 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00053/1.007, allocations: 408.3 kB / 1.206 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/1.009, allocations: 1.246 MB / 1.207 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.009, allocations: 4 kB / 1.207 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/1.01, allocations: 75.84 kB / 1.208 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/1.01, allocations: 4 kB / 1.208 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/1.01, allocations: 15.98 kB / 1.208 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/1.01, allocations: 4 kB / 1.208 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.01, allocations: 7.938 kB / 1.208 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/1.011, allocations: 0.7003 MB / 1.208 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/1.011, allocations: 164.5 kB / 1.208 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/1.011, allocations: 20.05 kB / 1.208 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/1.011, allocations: 33.09 kB / 1.208 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/1.011, allocations: 35.84 kB / 1.208 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/1.012, allocations: 20 kB / 1.208 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003846/1.012, allocations: 331.1 kB / 1.209 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.012, allocations: 0 / 1.209 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005877/1.012, allocations: 144 kB / 1.209 GB, free: 0.9062 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.000458/1.013, allocations: 164.4 kB / 1.209 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005965/1.014, allocations: 331.9 kB / 1.209 GB, free: 428 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.014, allocations: 4 kB / 1.209 GB, free: 424 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/1.014, allocations: 151.8 kB / 1.21 GB, free: 272 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.016, allocations: 360.1 kB / 1.21 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/1.018, allocations: 1.414 MB / 1.211 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/1.018, allocations: 0.8822 MB / 1.212 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.019, allocations: 47.44 kB / 1.212 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/1.019, allocations: 0 / 1.212 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of Templates: time 0.0146/1.033, allocations: 8.548 MB / 1.221 GB, free: 5.004 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches