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.001171/0.001171, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.001097/0.001097, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.14 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.437/2.437, allocations: 437.1 MB / 0.7112 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.45 kB / 0.8707 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2632, allocations: 151.6 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6415/0.9048, allocations: 170.8 MB / 1.186 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005138/0.91, allocations: 3.368 MB / 1.189 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.9106, allocations: 22.16 kB / 1.189 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.9115, allocations: 315.7 kB / 1.189 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.9137, allocations: 1.018 MB / 1.19 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.9152, allocations: 0.6636 MB / 1.191 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.917, allocations: 1.531 MB / 1.192 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.9176, allocations: 477.2 kB / 1.193 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.9183, allocations: 0.5621 MB / 1.193 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009178/0.9193, allocations: 464 kB / 1.194 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.9194, allocations: 53.97 kB / 1.194 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.9208, allocations: 0.8367 MB / 1.195 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.921, allocations: 236.8 kB / 1.195 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.9214, allocations: 336.9 kB / 1.195 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.9228, allocations: 1.131 MB / 1.196 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9228, allocations: 0 / 1.196 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9228, allocations: 0 / 1.196 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.9228, allocations: 0 / 1.196 GB, free: 13.09 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00131/0.9241, allocations: 0.911 MB / 1.197 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.9242, allocations: 14.88 kB / 1.197 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.9253, allocations: 178.1 kB / 1.197 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.9262, allocations: 0.5288 MB / 1.198 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.9262, allocations: 33.97 kB / 1.198 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.9263, allocations: 44.25 kB / 1.198 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.927, allocations: 470.6 kB / 1.198 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.927, allocations: 3.938 kB / 1.198 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.9271, allocations: 20.91 kB / 1.198 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.9271, allocations: 16.25 kB / 1.198 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005903/0.9277, allocations: 414.4 kB / 1.199 GB, free: 11.3 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.002349/0.93, allocations: 1.722 MB / 1.201 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.9305, allocations: 301.2 kB / 1.201 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.9307, allocations: 180.2 kB / 1.201 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.9309, allocations: 96.47 kB / 1.201 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.9309, allocations: 41.25 kB / 1.201 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.9309, allocations: 0 / 1.201 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001778/0.9327, allocations: 1.06 MB / 1.202 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.9328, allocations: 54.16 kB / 1.202 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.9332, allocations: 458.8 kB / 1.203 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.9333, allocations: 35.39 kB / 1.203 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.9334, allocations: 253.1 kB / 1.203 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.9335, allocations: 108.9 kB / 1.203 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.9336, allocations: 73.84 kB / 1.203 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9338, allocations: 355.6 kB / 1.203 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.934, allocations: 130.4 kB / 1.204 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.9342, allocations: 202.2 kB / 1.204 GB, free: 7.473 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.936, allocations: 0.8669 MB / 1.205 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.936, allocations: 0 / 1.205 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005625/0.9366, allocations: 416.9 kB / 1.205 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9366, allocations: 5.812 kB / 1.205 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.9366, allocations: 2.406 kB / 1.205 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.9366, allocations: 2.406 kB / 1.205 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.9369, allocations: 71.75 kB / 1.205 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.937, allocations: 6.812 kB / 1.205 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.9373, allocations: 19.3 kB / 1.205 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.9374, allocations: 15.78 kB / 1.205 GB, free: 6.695 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0002196/0.9376, allocations: 214.6 kB / 1.205 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.9377, allocations: 54.91 kB / 1.205 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.9378, allocations: 61.47 kB / 1.205 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.9378, allocations: 5.906 kB / 1.205 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9379, allocations: 0 / 1.205 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004538/0.9383, allocations: 405 kB / 1.206 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.94, allocations: 1.253 MB / 1.207 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.94, allocations: 8.594 kB / 1.207 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.9404, allocations: 67.16 kB / 1.207 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.9404, allocations: 8.562 kB / 1.207 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.9404, allocations: 15.38 kB / 1.207 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.9404, allocations: 9.656 kB / 1.207 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9404, allocations: 2.531 kB / 1.207 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.9413, allocations: 0.699 MB / 1.208 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.9415, allocations: 169.4 kB / 1.208 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.9416, allocations: 15.88 kB / 1.208 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.942, allocations: 21.11 kB / 1.208 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.9421, allocations: 34.78 kB / 1.208 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.9421, allocations: 22.89 kB / 1.208 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003184/0.9424, allocations: 329 kB / 1.208 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.323e-06/0.9425, allocations: 0 / 1.208 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005283/0.943, allocations: 148.4 kB / 1.209 GB, free: 4.227 MB / 0.9044 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.0003592/0.9434, allocations: 176.7 kB / 1.209 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.9439, allocations: 325.1 kB / 1.209 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9439, allocations: 4.062 kB / 1.209 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.9441, allocations: 163.6 kB / 1.209 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.9456, allocations: 361.1 kB / 1.21 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.9474, allocations: 1.122 MB / 1.211 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.9479, allocations: 0.8849 MB / 1.211 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004031/0.9483, allocations: 136.5 kB / 1.212 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.9484, allocations: 40 kB / 1.212 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.9484, allocations: 6.656 kB / 1.212 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of Templates: time 0.0171/0.9655, allocations: 11.05 MB / 1.222 GB, free: 7.727 MB / 0.92 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 -s gbode -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