Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_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.0009937/0.0009938, allocations: 98.72 kB / 16.02 MB, free: 76 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.001184/0.001184, allocations: 184.5 kB / 16.92 MB, free: 6.895 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 8.281 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3436, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1953/0.5389, allocations: 166.3 MB / 1.222 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.5449, allocations: 3.381 MB / 1.225 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008298/0.5457, allocations: 27.81 kB / 1.225 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.5468, allocations: 270.6 kB / 1.225 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.5496, allocations: 0.9493 MB / 1.226 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.5514, allocations: 0.6221 MB / 1.227 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.554, allocations: 2.102 MB / 1.229 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008026/0.5548, allocations: 392.6 kB / 1.229 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.5559, allocations: 489.8 kB / 1.23 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.5573, allocations: 459.4 kB / 1.23 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.5574, allocations: 20 kB / 1.23 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.5594, allocations: 0.9468 MB / 1.231 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.5598, allocations: 207.4 kB / 1.231 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.5604, allocations: 324.2 kB / 1.232 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.5616, allocations: 0.8301 MB / 1.232 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5616, allocations: 4 kB / 1.232 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5616, allocations: 0 / 1.232 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.66e-05/0.5616, allocations: 0 / 1.232 GB, free: 3.012 MB / 0.9825 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.001614/0.5632, allocations: 0.7948 MB / 1.233 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5633, allocations: 8.031 kB / 1.233 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.5647, allocations: 171.1 kB / 1.233 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/0.5656, allocations: 0.4974 MB / 1.234 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.5657, allocations: 37 kB / 1.234 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.5658, allocations: 40 kB / 1.234 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.5668, allocations: 478.4 kB / 1.234 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.5668, allocations: 4 kB / 1.234 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/0.5668, allocations: 16 kB / 1.234 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.5669, allocations: 16.94 kB / 1.234 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.5676, allocations: 415.7 kB / 1.235 GB, free: 468 kB / 0.9825 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.002888/0.5705, allocations: 1.74 MB / 1.237 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.5711, allocations: 300.3 kB / 1.237 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.5714, allocations: 180.8 kB / 1.237 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.5715, allocations: 101 kB / 1.237 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.5716, allocations: 38.56 kB / 1.237 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.415e-06/0.5716, allocations: 0 / 1.237 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002162/0.5738, allocations: 1.063 MB / 1.238 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.5738, allocations: 63.28 kB / 1.238 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.5744, allocations: 457.9 kB / 1.239 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.5744, allocations: 29.7 kB / 1.239 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.5746, allocations: 256.1 kB / 1.239 GB, free: 12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5747, allocations: 110.3 kB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.5748, allocations: 33.7 kB / 1.239 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.575, allocations: 358.8 kB / 1.239 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.5752, allocations: 127.9 kB / 1.24 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.5755, allocations: 197.9 kB / 1.24 GB, free: 11.15 MB / 0.9981 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.001992/0.5775, allocations: 0.8641 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5775, allocations: 0 / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006657/0.5782, allocations: 412.7 kB / 1.241 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5782, allocations: 8.188 kB / 1.241 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5782, allocations: 4 kB / 1.241 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5783, allocations: 4 kB / 1.241 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.5786, allocations: 71.91 kB / 1.241 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.5786, allocations: 7.938 kB / 1.241 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.5791, allocations: 19.98 kB / 1.241 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.5792, allocations: 20 kB / 1.241 GB, free: 9.707 MB / 0.9981 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.0002891/0.5795, allocations: 209.7 kB / 1.241 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5796, allocations: 55.44 kB / 1.241 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.5797, allocations: 52.77 kB / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.5797, allocations: 4 kB / 1.241 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5797, allocations: 0 / 1.241 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005365/0.5803, allocations: 420.5 kB / 1.242 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.5822, allocations: 1.249 MB / 1.243 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5822, allocations: 4 kB / 1.243 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.5826, allocations: 67.91 kB / 1.243 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.5826, allocations: 11.98 kB / 1.243 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.5826, allocations: 8.5 kB / 1.243 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.5826, allocations: 11.94 kB / 1.243 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5827, allocations: 8 kB / 1.243 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/0.5836, allocations: 0.709 MB / 1.244 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.5838, allocations: 176.4 kB / 1.244 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.5839, allocations: 8 kB / 1.244 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.5844, allocations: 32.59 kB / 1.244 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.5845, allocations: 39.91 kB / 1.244 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.5845, allocations: 15.98 kB / 1.244 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003808/0.5849, allocations: 331.1 kB / 1.244 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5849, allocations: 0 / 1.244 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005637/0.5855, allocations: 144 kB / 1.245 GB, free: 5.953 MB / 0.9981 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.000416/0.5859, allocations: 173.2 kB / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.5865, allocations: 319.7 kB / 1.245 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.5865, allocations: 0 / 1.245 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.5867, allocations: 156.8 kB / 1.245 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.5888, allocations: 358.6 kB / 1.246 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.5909, allocations: 1.407 MB / 1.247 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.5914, allocations: 0.89 MB / 1.248 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.5916, allocations: 43.44 kB / 1.248 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.5916, allocations: 0 / 1.248 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of Templates: time 0.5681/1.16, allocations: 8.542 MB / 1.256 GB, free: 190.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches