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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0009435/0.0009435, allocations: 91.84 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.006399/0.006399, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6823, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1792/0.8616, allocations: 166.3 MB / 1.185 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005493/0.8671, allocations: 3.389 MB / 1.189 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.8677, allocations: 19.88 kB / 1.189 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007971/0.8685, allocations: 274.6 kB / 1.189 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.8708, allocations: 0.9532 MB / 1.19 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.8725, allocations: 0.6045 MB / 1.191 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.875, allocations: 2.114 MB / 1.193 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006862/0.8757, allocations: 384.6 kB / 1.193 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008689/0.8766, allocations: 481.8 kB / 1.193 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.8777, allocations: 474.1 kB / 1.194 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.8778, allocations: 20 kB / 1.194 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.8795, allocations: 0.9468 MB / 1.195 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.8797, allocations: 203.4 kB / 1.195 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.88, allocations: 320.2 kB / 1.195 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.8815, allocations: 1.145 MB / 1.196 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8815, allocations: 0 / 1.196 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.205e-06/0.8815, allocations: 4 kB / 1.196 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8815, allocations: 0 / 1.196 GB, free: 13.57 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.001277/0.8828, allocations: 0.787 MB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8828, allocations: 8.031 kB / 1.197 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.8841, allocations: 179.1 kB / 1.197 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.8848, allocations: 0.5013 MB / 1.198 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.8848, allocations: 29 kB / 1.198 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.8849, allocations: 40 kB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.8857, allocations: 490.3 kB / 1.198 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.8857, allocations: 0 / 1.198 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.8858, allocations: 16 kB / 1.198 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.8858, allocations: 17 kB / 1.198 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.8865, allocations: 419.7 kB / 1.199 GB, free: 11 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.002601/0.8891, allocations: 1.732 MB / 1.201 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.8896, allocations: 295.3 kB / 1.201 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.8899, allocations: 184.7 kB / 1.201 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.8901, allocations: 97.09 kB / 1.201 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.8901, allocations: 42.56 kB / 1.201 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.8901, allocations: 0 / 1.201 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002002/0.8921, allocations: 1.052 MB / 1.202 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.8922, allocations: 55.41 kB / 1.202 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.8927, allocations: 465.8 kB / 1.203 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.8927, allocations: 33.7 kB / 1.203 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.8929, allocations: 252.1 kB / 1.203 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.8931, allocations: 114.4 kB / 1.203 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.8931, allocations: 41.69 kB / 1.203 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8933, allocations: 346.8 kB / 1.203 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.8935, allocations: 131.9 kB / 1.204 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.8938, allocations: 205.6 kB / 1.204 GB, free: 5.715 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.001952/0.8957, allocations: 0.8739 MB / 1.205 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8957, allocations: 7.875 kB / 1.205 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006053/0.8963, allocations: 404.7 kB / 1.205 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8964, allocations: 8 kB / 1.205 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8964, allocations: 4 kB / 1.205 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8964, allocations: 4 kB / 1.205 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.8967, allocations: 76.09 kB / 1.205 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8967, allocations: 4 kB / 1.205 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.8972, allocations: 31.81 kB / 1.205 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.8972, allocations: 16 kB / 1.205 GB, free: 4.25 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.0002557/0.8975, allocations: 217.6 kB / 1.205 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.8976, allocations: 51.44 kB / 1.205 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.8977, allocations: 60.75 kB / 1.205 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.8977, allocations: 4 kB / 1.205 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.8977, allocations: 0 / 1.205 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005131/0.8982, allocations: 404.3 kB / 1.206 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.9001, allocations: 1.246 MB / 1.207 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.9001, allocations: 4 kB / 1.207 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.9004, allocations: 75.89 kB / 1.207 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.9004, allocations: 8 kB / 1.207 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.9005, allocations: 8 kB / 1.207 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.9005, allocations: 8 kB / 1.207 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9005, allocations: 7.938 kB / 1.207 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.9014, allocations: 0.6964 MB / 1.208 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.9016, allocations: 172.5 kB / 1.208 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.9017, allocations: 12 kB / 1.208 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.9021, allocations: 30.41 kB / 1.208 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.9022, allocations: 39.84 kB / 1.208 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.9023, allocations: 19.98 kB / 1.208 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000366/0.9026, allocations: 331.1 kB / 1.208 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3e-07/0.9026, allocations: 0 / 1.208 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005871/0.9032, allocations: 136 kB / 1.209 GB, free: 0.5273 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.0004569/0.9037, allocations: 175.7 kB / 1.209 GB, free: 360 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.9043, allocations: 335.9 kB / 1.209 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9043, allocations: 3.938 kB / 1.209 GB, free: 20 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.9045, allocations: 159.7 kB / 1.209 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.9065, allocations: 358.7 kB / 1.21 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.9084, allocations: 1.362 MB / 1.211 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.9089, allocations: 0.8901 MB / 1.212 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005138/0.9094, allocations: 132.6 kB / 1.212 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.9096, allocations: 43.44 kB / 1.212 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/0.9096, allocations: 0 / 1.212 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.01886/0.9284, allocations: 10.55 MB / 1.222 GB, free: 2.609 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches