Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0009201/0.00092, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.007311/0.007311, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.591/2.591, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 15.75 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.189/0.4581, allocations: 183.8 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.4736, allocations: 11.04 MB / 1.249 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.4749, allocations: 39.69 kB / 1.249 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.4761, allocations: 425.7 kB / 1.249 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5486/1.025, allocations: 2.419 MB / 1.252 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/1.03, allocations: 2.073 MB / 1.254 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004571/1.034, allocations: 3.991 MB / 1.258 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/1.035, allocations: 0.65 MB / 1.258 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/1.037, allocations: 0.8294 MB / 1.259 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/1.039, allocations: 1.057 MB / 1.26 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/1.039, allocations: 44.78 kB / 1.26 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/1.046, allocations: 3.292 MB / 1.263 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006779/1.046, allocations: 393.4 kB / 1.264 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009197/1.047, allocations: 0.5393 MB / 1.264 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006962/1.054, allocations: 3 MB / 1.267 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.054, allocations: 0 / 1.267 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.054, allocations: 0 / 1.267 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.914e-05/1.054, allocations: 0 / 1.267 GB, free: 3.332 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004222/1.058, allocations: 1.477 MB / 1.269 GB, free: 18.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.058, allocations: 13.81 kB / 1.269 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/1.059, allocations: 116.8 kB / 1.269 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/1.061, allocations: 300.7 kB / 1.269 GB, free: 18.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.062, allocations: 0.7755 MB / 1.27 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/1.062, allocations: 54.08 kB / 1.27 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/1.062, allocations: 63.27 kB / 1.27 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/1.064, allocations: 0.9996 MB / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/1.064, allocations: 0.5625 kB / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/1.064, allocations: 25.59 kB / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/1.064, allocations: 81.61 kB / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/1.066, allocations: 1.007 MB / 1.272 GB, free: 17.95 MB / 1.014 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.005911/1.072, allocations: 3.583 MB / 1.276 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.073, allocations: 0.6642 MB / 1.276 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/1.074, allocations: 376.6 kB / 1.277 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/1.074, allocations: 202.8 kB / 1.277 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.074, allocations: 43.33 kB / 1.277 GB, free: 16.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 2.816e-06/1.074, allocations: 0 / 1.277 GB, free: 16.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.001934/1.076, allocations: 1.027 MB / 1.278 GB, free: 16.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/1.076, allocations: 109.9 kB / 1.278 GB, free: 16.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/1.077, allocations: 0.7999 MB / 1.279 GB, free: 16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/1.077, allocations: 39.89 kB / 1.279 GB, free: 15.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/1.078, allocations: 418.2 kB / 1.279 GB, free: 15.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/1.078, allocations: 223.1 kB / 1.279 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/1.078, allocations: 67.22 kB / 1.279 GB, free: 15.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.078, allocations: 337.4 kB / 1.28 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/1.079, allocations: 333.8 kB / 1.28 GB, free: 15.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/1.079, allocations: 462.6 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.08, allocations: 0.7728 MB / 1.281 GB, free: 15.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.08, allocations: 1.094 kB / 1.281 GB, free: 15.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001422/1.082, allocations: 0.9335 MB / 1.282 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/1.082, allocations: 152.3 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.082, allocations: 2.406 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.082, allocations: 12.25 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/1.083, allocations: 149 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.083, allocations: 5.344 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/1.084, allocations: 110.5 kB / 1.283 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/1.084, allocations: 33.62 kB / 1.283 GB, free: 14.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.054e-06/1.084, allocations: 3.812 kB / 1.283 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/1.085, allocations: 0.7729 MB / 1.283 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.085, allocations: 6.812 kB / 1.283 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/1.085, allocations: 9.188 kB / 1.283 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/1.086, allocations: 146.5 kB / 1.284 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/1.086, allocations: 8.062 kB / 1.284 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/1.086, allocations: 101.7 kB / 1.284 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/1.087, allocations: 29.22 kB / 1.284 GB, free: 14.77 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0004466/1.087, allocations: 372.4 kB / 1.284 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.087, allocations: 96 kB / 1.284 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/1.088, allocations: 0.8114 MB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.088, allocations: 6.219 kB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.088, allocations: 1.281 kB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.09, allocations: 0.7397 MB / 1.286 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/1.093, allocations: 2.088 MB / 1.288 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.093, allocations: 3.906 kB / 1.288 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/1.093, allocations: 138.2 kB / 1.288 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/1.093, allocations: 6.562 kB / 1.288 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/1.093, allocations: 22.59 kB / 1.288 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/1.093, allocations: 10.44 kB / 1.288 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.093, allocations: 7.188 kB / 1.288 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/1.095, allocations: 1.355 MB / 1.289 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/1.095, allocations: 260 kB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.096, allocations: 18.41 kB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/1.096, allocations: 57.73 kB / 1.289 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/1.096, allocations: 43.17 kB / 1.29 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/1.096, allocations: 27.3 kB / 1.29 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006743/1.097, allocations: 0.5651 MB / 1.29 GB, free: 13.26 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.097, allocations: 0 / 1.29 GB, free: 13.26 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002053/1.099, allocations: 0.743 MB / 1.291 GB, free: 13.15 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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.003101/1.102, allocations: 2.337 MB / 1.293 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.104, allocations: 1.17 MB / 1.294 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.104, allocations: 1.375 kB / 1.294 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/1.104, allocations: 372.3 kB / 1.295 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/1.107, allocations: 0.5203 MB / 1.295 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.119, allocations: 8.628 MB / 1.304 GB, free: 8.855 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/1.119, allocations: 1.083 MB / 1.305 GB, free: 8.137 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001437/1.121, allocations: 415.7 kB / 1.305 GB, free: 8.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/1.121, allocations: 335.9 kB / 1.305 GB, free: 8.062 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.121, allocations: 0 / 1.305 GB, free: 8.062 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/1.167, allocations: 30 MB / 1.335 GB, free: 14.64 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/1.167, allocations: 269.7 kB / 1.335 GB, free: 14.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.765, allocations: 0 / 1.335 GB, free: 14.28 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches