Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 108 kB / 15.6 MB, free: 132 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.001762/0.001762, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.417/2.417, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 0.8126 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.541, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04391/0.5849, allocations: 49.79 MB / 0.9983 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.6021, allocations: 12.66 MB / 1.011 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.6041, allocations: 83.5 kB / 1.011 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.6058, allocations: 0.7605 MB / 1.012 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003931/0.6097, allocations: 1.823 MB / 1.013 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.6126, allocations: 1.341 MB / 1.015 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.616, allocations: 3.249 MB / 1.018 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.6175, allocations: 1.253 MB / 1.019 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.6201, allocations: 1.296 MB / 1.02 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.6214, allocations: 0.933 MB / 1.021 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.6216, allocations: 100 kB / 1.021 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.6236, allocations: 1.068 MB / 1.022 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.6239, allocations: 282.8 kB / 1.023 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006789/0.6246, allocations: 0.6723 MB / 1.023 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.627, allocations: 1.92 MB / 1.025 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.627, allocations: 3.938 kB / 1.025 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.584e-06/0.627, allocations: 4 kB / 1.025 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.627, allocations: 3.938 kB / 1.025 GB, free: 4.293 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002313/0.6294, allocations: 1.701 MB / 1.027 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.6294, allocations: 12.03 kB / 1.027 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.6295, allocations: 139.4 kB / 1.027 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005796/0.6301, allocations: 211 kB / 1.027 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.6317, allocations: 1.01 MB / 1.028 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/0.6321, allocations: 130 kB / 1.028 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.6322, allocations: 80 kB / 1.028 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.6338, allocations: 1.015 MB / 1.029 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6339, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.6339, allocations: 40 kB / 1.029 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.634, allocations: 20 kB / 1.029 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.6354, allocations: 0.6594 MB / 1.03 GB, free: 15.09 MB / 0.795 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.004662/0.6401, allocations: 4.771 MB / 1.035 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.6414, allocations: 406.6 kB / 1.035 GB, free: 9.637 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.6419, allocations: 220.7 kB / 1.035 GB, free: 9.418 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007895/0.6427, allocations: 1.152 MB / 1.036 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.6428, allocations: 38.56 kB / 1.036 GB, free: 7.961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.6428, allocations: 0 / 1.036 GB, free: 7.961 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002867/0.6456, allocations: 1.094 MB / 1.038 GB, free: 6.797 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.6457, allocations: 63.28 kB / 1.038 GB, free: 6.723 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.6467, allocations: 0.9754 MB / 1.039 GB, free: 5.734 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.6468, allocations: 33.7 kB / 1.039 GB, free: 5.695 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.6471, allocations: 0.585 MB / 1.039 GB, free: 5.105 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.505e-05/0.6472, allocations: 106.6 kB / 1.039 GB, free: 5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.6474, allocations: 114 kB / 1.039 GB, free: 4.883 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.6475, allocations: 322 kB / 1.04 GB, free: 4.562 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.648, allocations: 205 kB / 1.04 GB, free: 4.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.6487, allocations: 418.3 kB / 1.04 GB, free: 3.863 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.65, allocations: 0.606 MB / 1.041 GB, free: 3.168 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.65, allocations: 0 / 1.041 GB, free: 3.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001615/0.6516, allocations: 0.7721 MB / 1.042 GB, free: 2.379 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6516, allocations: 9.562 kB / 1.042 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6517, allocations: 8 kB / 1.042 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.6523, allocations: 154.5 kB / 1.042 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.6529, allocations: 147.8 kB / 1.042 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.654, allocations: 1.72 MB / 1.044 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.6546, allocations: 99.36 kB / 1.044 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.6547, allocations: 31.98 kB / 1.044 GB, free: 136 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003643/0.655, allocations: 273.7 kB / 1.044 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.6552, allocations: 110.6 kB / 1.044 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.6571, allocations: 0.7263 MB / 1.045 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.6571, allocations: 11.94 kB / 1.045 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6571, allocations: 3.984 kB / 1.045 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6571, allocations: 0 / 1.045 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.6599, allocations: 1.644 MB / 1.046 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6599, allocations: 4 kB / 1.046 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.6604, allocations: 100.1 kB / 1.046 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005558/0.661, allocations: 154.4 kB / 1.047 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.661, allocations: 8 kB / 1.047 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009634/0.662, allocations: 1.704 MB / 1.048 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.662, allocations: 8.016 kB / 1.048 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.6636, allocations: 0.7881 MB / 1.049 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.6639, allocations: 247.5 kB / 1.049 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6641, allocations: 11.98 kB / 1.049 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.6647, allocations: 47.95 kB / 1.049 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.6648, allocations: 35.83 kB / 1.049 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.6648, allocations: 19.98 kB / 1.049 GB, free: 10 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007967/0.6656, allocations: 0.6619 MB / 1.05 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6656, allocations: 0 / 1.05 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009394/0.6666, allocations: 371.2 kB / 1.05 GB, free: 8.969 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002464/0.6691, allocations: 1.631 MB / 1.052 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.6707, allocations: 0.5878 MB / 1.053 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6707, allocations: 0 / 1.053 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008359/0.6716, allocations: 304.6 kB / 1.053 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.6738, allocations: 0.5329 MB / 1.053 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6848, allocations: 7.738 MB / 1.061 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.6855, allocations: 1.103 MB / 1.062 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006797/0.6862, allocations: 192.2 kB / 1.062 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.6866, allocations: 415.3 kB / 1.063 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/0.6866, allocations: 0 / 1.063 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4815/1.168, allocations: 29.27 MB / 1.091 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.81, allocations: 5.438 kB / 1.091 GB, free: 15.1 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches