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.007075/0.007075, allocations: 105.6 kB / 15.74 MB, free: 6.02 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.001683/0.001683, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.19/2.19, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6936, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05446/0.7481, allocations: 49.78 MB / 1.136 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.7682, allocations: 12.69 MB / 1.148 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003573/0.7718, allocations: 83.16 kB / 1.149 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.7747, allocations: 0.7717 MB / 1.149 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.7813, allocations: 1.915 MB / 1.151 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00476/0.7861, allocations: 1.369 MB / 1.153 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005676/0.7917, allocations: 3.261 MB / 1.156 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.7941, allocations: 1.251 MB / 1.157 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.7978, allocations: 1.317 MB / 1.158 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.7996, allocations: 0.9312 MB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.8, allocations: 96.12 kB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.803, allocations: 1.073 MB / 1.16 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.8035, allocations: 293.8 kB / 1.161 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.8046, allocations: 0.6693 MB / 1.161 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.8087, allocations: 1.96 MB / 1.163 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8088, allocations: 0 / 1.163 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8088, allocations: 0 / 1.163 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.118e-05/0.8088, allocations: 1.188 kB / 1.163 GB, free: 1.227 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003234/0.812, allocations: 1.753 MB / 1.165 GB, free: 28 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8121, allocations: 10.84 kB / 1.165 GB, free: 28 kB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.8123, allocations: 136.2 kB / 1.165 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007105/0.813, allocations: 215.2 kB / 1.165 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.8154, allocations: 1.097 MB / 1.166 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.8155, allocations: 69.88 kB / 1.166 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.8157, allocations: 83.25 kB / 1.166 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.8176, allocations: 1.009 MB / 1.167 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.8176, allocations: 0.9688 kB / 1.167 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/0.8177, allocations: 38.03 kB / 1.167 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.8177, allocations: 22.06 kB / 1.167 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.8194, allocations: 0.6483 MB / 1.168 GB, free: 14.37 MB / 0.92 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.00602/0.8254, allocations: 4.732 MB / 1.173 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.8267, allocations: 397.7 kB / 1.173 GB, free: 9.945 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.8272, allocations: 216.6 kB / 1.173 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008349/0.8281, allocations: 1.145 MB / 1.174 GB, free: 8.492 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.8281, allocations: 36.22 kB / 1.174 GB, free: 8.449 MB / 0.92 GB Notification: Performance of pre-optimization done (n=29): time 2.304e-06/0.8281, allocations: 1.062 kB / 1.174 GB, free: 8.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.003131/0.8313, allocations: 1.087 MB / 1.175 GB, free: 7.723 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.8313, allocations: 66.55 kB / 1.176 GB, free: 7.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.8327, allocations: 0.9748 MB / 1.176 GB, free: 7.105 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.8328, allocations: 35.92 kB / 1.177 GB, free: 7.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.8333, allocations: 0.5956 MB / 1.177 GB, free: 6.539 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.8334, allocations: 117.9 kB / 1.177 GB, free: 6.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.8336, allocations: 112.8 kB / 1.177 GB, free: 6.367 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.8337, allocations: 323.2 kB / 1.178 GB, free: 6.051 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.8343, allocations: 198.7 kB / 1.178 GB, free: 5.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.835, allocations: 409.5 kB / 1.178 GB, free: 5.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.8362, allocations: 0.5887 MB / 1.179 GB, free: 5.148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.8362, allocations: 2.156 kB / 1.179 GB, free: 5.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001874/0.8381, allocations: 0.7694 MB / 1.18 GB, free: 4.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8381, allocations: 7.812 kB / 1.18 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8381, allocations: 7.188 kB / 1.18 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006876/0.8388, allocations: 162.3 kB / 1.18 GB, free: 4.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.8395, allocations: 141 kB / 1.18 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.8408, allocations: 1.72 MB / 1.182 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/0.8417, allocations: 92.7 kB / 1.182 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.8418, allocations: 31.08 kB / 1.182 GB, free: 2.863 MB / 0.92 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.0005162/0.8424, allocations: 264.1 kB / 1.182 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.8426, allocations: 115.9 kB / 1.182 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.8445, allocations: 0.7287 MB / 1.183 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.8445, allocations: 8.531 kB / 1.183 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8445, allocations: 0 / 1.183 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8445, allocations: 0 / 1.183 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.8477, allocations: 1.63 MB / 1.184 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.8477, allocations: 13.23 kB / 1.184 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.8482, allocations: 85.91 kB / 1.184 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006192/0.8488, allocations: 154.7 kB / 1.185 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.8489, allocations: 12.86 kB / 1.185 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.85, allocations: 1.709 MB / 1.186 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.8501, allocations: 2.406 kB / 1.186 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.8518, allocations: 0.7772 MB / 1.187 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.8524, allocations: 250.6 kB / 1.187 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.8525, allocations: 11.41 kB / 1.187 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.8531, allocations: 48.81 kB / 1.187 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.8532, allocations: 37.06 kB / 1.187 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.8533, allocations: 21.27 kB / 1.187 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009108/0.8542, allocations: 0.6634 MB / 1.188 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8542, allocations: 0 / 1.188 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001257/0.8555, allocations: 382.6 kB / 1.188 GB, free: 13.94 MB / 0.9356 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.002752/0.8582, allocations: 1.632 MB / 1.19 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.8599, allocations: 0.5495 MB / 1.191 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8599, allocations: 3.938 kB / 1.191 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.8607, allocations: 302.4 kB / 1.191 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.8633, allocations: 0.5244 MB / 1.191 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.8752, allocations: 7.321 MB / 1.198 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/0.8759, allocations: 1.11 MB / 1.2 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007956/0.8768, allocations: 186.8 kB / 1.2 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/0.8773, allocations: 418.8 kB / 1.2 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/0.8773, allocations: 0 / 1.2 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/0.9366, allocations: 29.51 MB / 1.229 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.63, allocations: 15.19 kB / 1.229 GB, free: 11.94 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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